From ef77c5e7bf2c9282a3942e186a5423838ce0f4ab Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 26 Jul 2014 15:46:35 +0200 Subject: mark temporary prints 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 insertions(+) diff --git a/src/mds-server/interceptors.c b/src/mds-server/interceptors.c index 552d7a1..ac64945 100644 --- a/src/mds-server/interceptors.c +++ b/src/mds-server/interceptors.c @@ -265,6 +265,7 @@ 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)) @@ -280,6 +281,7 @@ 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); @@ -291,6 +293,7 @@ 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