aboutsummaryrefslogtreecommitdiffstats
path: root/main/srv.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-14 01:16:50 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-14 01:16:50 +0000
commit850d5296b9fc49fc31fb35aa39a1e00fb3a846a1 (patch)
treedb7c4734d2246c6249c00869c72fa6b4d9e913cc /main/srv.c
parent912d613725fbf4073eaf6db6c348430b4fb4a949 (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: http://svn.digium.com/svn/asterisk/trunk@89262 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/srv.c')
-rw-r--r--main/srv.c2
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