From 35992e31e1164181a66c5b8d63fb060d46c46195 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Mon, 10 Oct 2011 08:48:05 +0200 Subject: [PATCH] Prints the full hash table error in stderr. --- selector.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/selector.c b/selector.c index 2b51cf6..7f64eba 100644 --- a/selector.c +++ b/selector.c @@ -291,7 +291,8 @@ int add_and_get_previous_index(struct hash_table_t *hash_table, /* We came back to our original code, which means that the table is full */ if(code == start) { - printf("Full hash table (that should not happen)\n"); + fprintf(stderr, + "Full hash table (that should not happen)\n"); exit(EXIT_FAILURE); } } -- 2.20.1