Patch: missing brackets

"Peter Holik" <[email protected]>
Newsgroups gmane.linux.isdn.i4l.user
Message-ID <940ad0e491a84cf967523a229bb93422.squirrel@webmail.it-technology.at>
Hi!

I got an error "lcr_config app not called by chan_lcr channel." because of missing brackets

cu Peter

_______________________________________________
isdn4linux mailing list
[email protected]
https://www.isdn4linux.de/mailman/listinfo/isdn4linux
chan_lcr.c.diff (text/x-diff, 512 B)
--- chan_lcr.c.orig	2013-10-29 10:12:19.000000000 +0100
+++ chan_lcr.c	2013-10-29 10:31:49.586342840 +0100
@@ -3460,7 +3460,7 @@
 			break;
 		call = call->next;
 	}
-	if (call)
+	if (call) {
 
 		#ifdef LCR_FOR_ASTERISK
 		apply_opt(call, (char *)data);
@@ -3478,7 +3478,7 @@
 			newparam.queue = call->tx_queue * 8;
 			send_message(MESSAGE_DISABLE_DEJITTER, call->ref, &newparam);
 		}
-	else
+	} else
 		CERROR(NULL, ast, "lcr_config app not called by chan_lcr channel.\n");
 
 	ast_mutex_unlock(&chan_lock);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.