[svn-commits] file: trunk r101393 - /trunk/funcs/func_realtime.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jan 31 09:36:12 CST 2008


Author: file
Date: Thu Jan 31 09:36:11 2008
New Revision: 101393

URL: http://svn.digium.com/view/asterisk?view=rev&rev=101393
Log:
Add missing braces.
(closes issue #11886)
Reported by: sergee
Patches:
      func_realtime_fix-r101392.diff uploaded by sergee (license 138)

Modified:
    trunk/funcs/func_realtime.c

Modified: trunk/funcs/func_realtime.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_realtime.c?view=diff&rev=101393&r1=101392&r2=101393
==============================================================================
--- trunk/funcs/func_realtime.c (original)
+++ trunk/funcs/func_realtime.c Thu Jan 31 09:36:11 2008
@@ -68,10 +68,11 @@
 
 	head = ast_load_realtime_all(args.family, args.fieldmatch, args.value, NULL);
 
-	if (!head)
+	if (!head) {
 		if (chan)
 			ast_autoservice_stop(chan);
 		return -1;
+	}
 
 	resultslen = 0;
 	n = 0;




More information about the svn-commits mailing list