aboutsummaryrefslogtreecommitdiffstats
path: root/main/srv.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-14 01:15:12 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-14 01:15:12 +0000
commit9c04dd8d3a65e4b86fdda167069313f6d689fca4 (patch)
treebfc298076b72be719a4599e5832a3aedbec6c0cc /main/srv.c
parentbce890ffc7726b373bc7acbfe47d7caf6d0f11b7 (diff)
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/branches/1.4@89260 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 d39b13157..97ad43cff 100644
--- a/main/srv.c
+++ b/main/srv.c
@@ -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