summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2023-11-27 17:11:07 +0100
committerSimon Rettberg2023-11-27 17:11:07 +0100
commite8adf9b73d84f6e9e73805d501b2a9e9079fba74 (patch)
treeb3d283e1451f56ca8e663c870737a85e76f91bd2
parentAdd autorestart option to exit(1) on unresponsive upstream (diff)
downloadldadp-master.tar.gz
ldadp-master.tar.xz
ldadp-master.zip
Remove debug spamHEADmaster
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index edde2ce..c944108 100644
--- a/server.c
+++ b/server.c
@@ -341,7 +341,7 @@ uint32_t server_searchRequest(server_t *server, struct SearchRequest *req)
{
epoll_server_t * const s = &server->con;
if (!server_ensureConnected(server)) return 0;
- printf("fd: %d, Kill: %d, Bound: %d, idle: %d\n", s->fd, (int)s->kill, (int)s->bound, (int)(time(NULL) - s->lastActive));
+ //printf("fd: %d, Kill: %d, Bound: %d, idle: %d\n", s->fd, (int)s->kill, (int)s->bound, (int)(time(NULL) - s->lastActive));
if (s->fd != -1 && !s->kill) {
uint32_t msgId = server_searchRequestOnConnection(s, req);
if (msgId != 0) return msgId;