[Asterisk-cvs] asterisk/channels chan_sip.c,1.523,1.524

anthm at lists.digium.com anthm at lists.digium.com
Thu Oct 7 12:41:19 CDT 2004


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

Modified Files:
	chan_sip.c 
Log Message:
fix typo in chan sip that causes segV 

Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.523
retrieving revision 1.524
diff -u -d -r1.523 -r1.524
--- chan_sip.c	7 Oct 2004 15:47:39 -0000	1.523
+++ chan_sip.c	7 Oct 2004 16:42:37 -0000	1.524
@@ -8786,7 +8786,7 @@
 	for (user=userl.users;user;) {
 		userlast = user;
 		user=user->next;
-		destroy_user(user);
+		destroy_user(userlast);
 	}
 	userl.users=NULL;
 	ast_mutex_unlock(&userl.lock);




More information about the svn-commits mailing list