diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2008-02-22 13:50:33 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2008-02-22 13:50:33 +0000 |
commit | 4e20dc2276fa5fc9a73bb41dc1bc9fccc8c3f097 (patch) | |
tree | ee7731ece7e93bf6c4d50371a5f65541ba4bfdd5 /net/spnetkit/files/patch-spnklog.cpp | |
parent | - Updated to 2.2.20 (diff) |
Add spnetkit, it's a C++ wrapper for BSD-style sockets.
Notes
Notes:
svn path=/head/; revision=207752
Diffstat (limited to 'net/spnetkit/files/patch-spnklog.cpp')
-rw-r--r-- | net/spnetkit/files/patch-spnklog.cpp | 11 |
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 ) { |