mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
Return the proper value when the srv_callback function executes properly.
(closes issue #11240) Reported by: jtodd git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@89260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -141,7 +141,7 @@ static int srv_callback(void *context, unsigned char *answer, int len, unsigned
|
||||
if (entry)
|
||||
AST_LIST_INSERT_TAIL(&c->entries, entry, list);
|
||||
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Do the bizarre SRV record weight-handling algorithm
|
||||
|
Reference in New Issue
Block a user