summaryrefslogtreecommitdiff
path: root/net/spserver/files/patch-spexecutor.cpp
blob: 660ffac95c586984bf17c98eaf9c8779c13f65ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- spexecutor.cpp.orig	Mon Jun 11 15:20:34 2007
+++ spexecutor.cpp	Mon Jun 18 12:44:56 2007
@@ -14,7 +14,7 @@
 #include "spexecutor.hpp"
 #include "spthreadpool.hpp"
 
-#include "config.h"
+//#include "config.h"
 #include "event_msgqueue.h"
 
 SP_Task :: ~SP_Task()
@@ -83,7 +83,7 @@
 	int ret = pthread_create( &thread, &attr, reinterpret_cast<void*(*)(void*)>(eventLoop), this );
 	pthread_attr_destroy( &attr );
 	if( 0 == ret ) {
-		syslog( LOG_NOTICE, "[ex@%s] Thread #%ld has been created for executor", tag, thread );
+		syslog( LOG_NOTICE, "[ex@%s] Thread #%ld has been created for executor", tag, (long)thread );
 	} else {
 		syslog( LOG_WARNING, "[ex@%s] Unable to create a thread for executor", tag );
 	}