summaryrefslogtreecommitdiff
path: root/net/spnetkit/files/patch-spnklog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net/spnetkit/files/patch-spnklog.cpp')
-rw-r--r--net/spnetkit/files/patch-spnklog.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/spnetkit/files/patch-spnklog.cpp b/net/spnetkit/files/patch-spnklog.cpp
new file mode 100644
index 000000000000..c4784107c742
--- /dev/null
+++ b/net/spnetkit/files/patch-spnklog.cpp
@@ -0,0 +1,11 @@
+--- spnklog.cpp.orig 2008-02-18 12:19:32.000000000 +0800
++++ spnklog.cpp 2008-02-18 12:19:41.000000000 +0800
+@@ -107,7 +107,7 @@
+ snprintf( logText, sizeof( logText ),
+ "%04i-%02i-%02i %02i:%02i:%02i #%i ",
+ 1900 + tmTime.tm_year, tmTime.tm_mon+1, tmTime.tm_mday,
+- tmTime.tm_hour, tmTime.tm_min, tmTime.tm_sec, (int)pthread_self() );
++ tmTime.tm_hour, tmTime.tm_min, tmTime.tm_sec, pthread_self() );
+ }
+
+ if( mIsLogPriName ) {