mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
Kill off red blobs in most of main/*
Everything still compiled after making these changes, so I assume these whitespace-only changes didn't break anything (and shouldn't have). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@360190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user