summaryrefslogtreecommitdiff
path: root/main/srv.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/srv.c')
-rw-r--r--main/srv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/srv.c b/main/srv.c
index 5a0c7effb..96f02f3df 100644
--- a/main/srv.c
+++ b/main/srv.c
@@ -23,7 +23,7 @@
* \brief DNS SRV Record Lookup Support for Asterisk
*
* \author Mark Spencer <markster@digium.com>
- *
+ *
* \arg See also \ref AstENUM
*
* \note Funding provided by nic.at
@@ -99,14 +99,14 @@ static int parse_srv(unsigned char *answer, int len, unsigned char *msg, struct
if (!(entry = ast_calloc(1, sizeof(*entry) + strlen(repl))))
return -1;
-
+
entry->priority = ntohs(srv->priority);
entry->weight = ntohs(srv->weight);
entry->port = ntohs(srv->port);
strcpy(entry->host, repl);
*result = entry;
-
+
return 0;
}