projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2598baa
)
fixed traffic_in counter in ClientSocket.c
author
pk910
<philipp@zoelle1.de>
Wed, 22 Aug 2012 02:52:05 +0000
(
04:52
+0200)
committer
pk910
<philipp@zoelle1.de>
Wed, 22 Aug 2012 02:52:05 +0000
(
04:52
+0200)
src/ClientSocket.c
patch
|
blob
|
history
diff --git
a/src/ClientSocket.c
b/src/ClientSocket.c
index cb40cc7dc9eb1afe311919d685ca16de153846e7..a1a5726a567eef6c33ad81e043010276e1329c16 100644
(file)
--- a/
src/ClientSocket.c
+++ b/
src/ClientSocket.c
@@
-245,6
+245,7
@@
static IOHANDLER_CALLBACK(socket_callback) {
tid = (unsigned int) pthread_self_tid();
clientsocket_start_of_recv(tid);
#endif
tid = (unsigned int) pthread_self_tid();
clientsocket_start_of_recv(tid);
#endif
+ client->traffic_in += strlen(event->data.recv_str);
parse_line(client, event->data.recv_str);
#ifdef HAVE_THREADS
clientsocket_end_of_recv(tid);
parse_line(client, event->data.recv_str);
#ifdef HAVE_THREADS
clientsocket_end_of_recv(tid);