aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-31 15:36:11 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-31 15:36:11 +0000
commit2272efb1901991a0ee852eba626ddced7e918fdc (patch)
tree073ee590228bb8c657b0c886cfd5a7a781983306 /funcs
parent3738d86cfcd7506e9e403b1a99b5bd47450195a8 (diff)
Add missing braces.
(closes issue #11886) Reported by: sergee Patches: func_realtime_fix-r101392.diff uploaded by sergee (license 138) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101393 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_realtime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/funcs/func_realtime.c b/funcs/func_realtime.c
index 7b269d91c..a901ff764 100644
--- a/funcs/func_realtime.c
+++ b/funcs/func_realtime.c
@@ -68,10 +68,11 @@ static int function_realtime_read(struct ast_channel *chan, const char *cmd, cha
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;