[libss7-commits] mattf: trunk r158 - /trunk/mtp2.c

SVN commits to the libss7 project libss7-commits at lists.digium.com
Thu May 1 13:31:53 CDT 2008


Author: mattf
Date: Thu May  1 13:31:52 2008
New Revision: 158

URL: http://svn.digium.com/view/libss7?view=rev&rev=158
Log:
Use the correct variable name too

Modified:
    trunk/mtp2.c

Modified: trunk/mtp2.c
URL: http://svn.digium.com/view/libss7/trunk/mtp2.c?view=diff&rev=158&r1=157&r2=158
==============================================================================
--- trunk/mtp2.c (original)
+++ trunk/mtp2.c Thu May  1 13:31:52 2008
@@ -571,7 +571,7 @@
 			link->state = newstate;
 			return 0;
 		case MTP_INSERVICE:
-			if (nextstate != MTP_INSERVICE) {
+			if (newstate != MTP_INSERVICE) {
 				e = ss7_next_empty_event(link->master);
 				if (!e) {
 					mtp_error(link->master, "Could not queue event\n");




More information about the libss7-commits mailing list