[Asterisk-cvs] asterisk/channels chan_sip.c,1.678,1.679

markster at lists.digium.com markster at lists.digium.com
Sat Mar 19 16:47:32 CST 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv14506/channels

Modified Files:
	chan_sip.c 
Log Message:
Fix "little crash" in inuse handling (bug #3792)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.678
retrieving revision 1.679
diff -u -d -r1.678 -r1.679
--- chan_sip.c	19 Mar 2005 17:31:33 -0000	1.678
+++ chan_sip.c	19 Mar 2005 22:42:29 -0000	1.679
@@ -1767,7 +1767,7 @@
 					return -1; 
 				}
 			}
-			u->inUse++;
+			(*inuse)++;
 			ast_log(LOG_DEBUG, "Call from %s '%s' is %d out of %d\n", u?"user":"peer", name, *inuse, *incominglimit);
 			break;
 #ifdef DISABLED_CODE




More information about the svn-commits mailing list