diff options
author | Joshua Colp <jcolp@digium.com> | 2007-11-14 01:16:50 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-11-14 01:16:50 +0000 |
commit | 7d561b994c232cb399c3440b64929c237423a4c5 (patch) | |
tree | db7c4734d2246c6249c00869c72fa6b4d9e913cc /main | |
parent | 76696ac65fa86d605b678dd7812de211dbf91c64 (diff) |
Merged revisions 89260 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89260 | file | 2007-11-13 21:15:12 -0400 (Tue, 13 Nov 2007) | 4 lines
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/trunk@89262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r-- | main/srv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/srv.c b/main/srv.c index 3091d78a3..55a13e852 100644 --- a/main/srv.c +++ b/main/srv.c @@ -143,7 +143,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 |