projects
/
cubemap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f67fda5
)
Fix a Valgrind hit.
author
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Tue, 16 Apr 2013 20:30:47 +0000
(22:30 +0200)
committer
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Tue, 16 Apr 2013 20:30:47 +0000
(22:30 +0200)
accesslog.cpp
patch
|
blob
|
history
diff --git
a/accesslog.cpp
b/accesslog.cpp
index
a0467b1
..
7dfadff
100644
(file)
--- a/
accesslog.cpp
+++ b/
accesslog.cpp
@@
-16,12
+16,12
@@
using namespace std;
AccessLogThread::AccessLogThread()
{
- pthread_mutex_init(&mutex);
+ pthread_mutex_init(&mutex
, NULL
);
}
AccessLogThread::AccessLogThread(const string &filename)
: filename(filename) {
- pthread_mutex_init(&mutex);
+ pthread_mutex_init(&mutex
, NULL
);
}
void AccessLogThread::write(const ClientStats& client)