aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-07-26 15:46:35 +0200
committerMattias Andrée <maandree@operamail.com>2014-07-26 15:46:35 +0200
commitef77c5e7bf2c9282a3942e186a5423838ce0f4ab (patch)
tree5a39239f6763bcbb271ef137aa285f3d47983105 /src/mds-server
parentadd tv server to the todo list (diff)
downloadmds-ef77c5e7bf2c9282a3942e186a5423838ce0f4ab.tar.gz
mds-ef77c5e7bf2c9282a3942e186a5423838ce0f4ab.tar.bz2
mds-ef77c5e7bf2c9282a3942e186a5423838ce0f4ab.tar.xz
mark temporary prints
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/mds-server')
-rw-r--r--src/mds-server/interceptors.c3
1 files changed, 3 insertions, 0 deletions
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;
}