Update of /cvsroot/simplemail/simplemail/gtk
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv24525/gtk
Modified Files:
subthreads.c
Log Message:
Parameter argcount is inclusive.
Index: subthreads.c
===================================================================
RCS file: /cvsroot/simplemail/simplemail/gtk/subthreads.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- subthreads.c 23 Feb 2014 13:23:44 -0000 1.63
+++ subthreads.c 23 Feb 2014 13:25:37 -0000 1.64
@@ -346,7 +346,7 @@
SM_ENTER;
SM_DEBUGF(20,("Thread %p calls on context for %p\n", thread_get(), thread));
- assert(argcount < THREAD_CALL_FUNCTION_SYNC_DATA_NUM_ARGS);
+ assert(argcount <= THREAD_CALL_FUNCTION_SYNC_DATA_NUM_ARGS);
data.function = (int (*)(void))function;
data.argcount = argcount;
|