projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'meins/master'
[paraslash.git]
/
stat.c
diff --git
a/stat.c
b/stat.c
index 0457a0f3dc689139179f9a5495e110b6a260f8f3..e640e4c6994ca830e769c34dc6072a17ac254606 100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2005-200
7
Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-200
8
Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
@@
-113,7
+113,7
@@
void stat_client_write(const char *msg, int itemnum)
continue;
if (write_ok(fd) > 0) {
ret = write(fd, msg, len);
continue;
if (write_ok(fd) > 0) {
ret = write(fd, msg, len);
-
PARA_DEBUG_LOG("dumped %s to fd %d, ret = %d\n", msg, fd, ret);
+
//
PARA_DEBUG_LOG("dumped %s to fd %d, ret = %d\n", msg, fd, ret);
if (ret == len)
continue;
}
if (ret == len)
continue;
}
@@
-125,7
+125,8
@@
void stat_client_write(const char *msg, int itemnum)
free(sc);
dump_stat_client_list();
}
free(sc);
dump_stat_client_list();
}
- PARA_DEBUG_LOG("%d client(s)\n", num_clients);
+// if (num_clients)
+// PARA_DEBUG_LOG("%d client(s)\n", num_clients);
}
/**
}
/**