[svn-commits] file: branch 1.4 r89260 - /branches/1.4/main/srv.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Nov 13 19:15:13 CST 2007


Author: file
Date: Tue Nov 13 19:15:12 2007
New Revision: 89260

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89260
Log:
Return the proper value when the srv_callback function executes properly.
(closes issue #11240)
Reported by: jtodd

Modified:
    branches/1.4/main/srv.c

Modified: branches/1.4/main/srv.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/srv.c?view=diff&rev=89260&r1=89259&r2=89260
==============================================================================
--- branches/1.4/main/srv.c (original)
+++ branches/1.4/main/srv.c Tue Nov 13 19:15:12 2007
@@ -141,7 +141,7 @@
 	if (entry)
 		AST_LIST_INSERT_TAIL(&c->entries, entry, list);
 
-	return 0;
+	return 1;
 }
 
 /* Do the bizarre SRV record weight-handling algorithm




More information about the svn-commits mailing list