From 88ff17de1673575b247da3374dedf8561716238e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 27 Jul 2014 20:16:07 +0200 Subject: fix multiple clients bug: minor bug in linked_list caused removal of old clients + add dump method for linked list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-server/interceptors.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/mds-server/interceptors.c') diff --git a/src/mds-server/interceptors.c b/src/mds-server/interceptors.c index ac64945..552d7a1 100644 --- a/src/mds-server/interceptors.c +++ b/src/mds-server/interceptors.c @@ -265,7 +265,6 @@ queued_interception_t* get_interceptors(client_t* sender, size_t* hashes, char** /* Count clients. */ foreach_linked_list_node (client_list, node) n++; - eprintf("n: %lu", n); /* TODO temporary */ /* Allocate interceptor list. */ if (xmalloc(interceptions, n, queued_interception_t)) @@ -281,7 +280,6 @@ queued_interception_t* get_interceptors(client_t* sender, size_t* hashes, char** { int r = find_matching_condition(client, hashes, keys, headers, count, interceptions + interceptions_count); - eprintf("%i", r); /* TODO temporary */ if (r == -1) { free(interceptions); @@ -293,7 +291,6 @@ queued_interception_t* get_interceptors(client_t* sender, size_t* hashes, char** } } - eprint(""); /* TODO temporary */ *interceptions_count_out = interceptions_count; return interceptions; } -- cgit v1.2.3-70-g09d2