projects
/
selector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0adedf1
)
Prints the full hash table error in stderr.
author
Francois Fleuret
<francois@fleuret.org>
Mon, 10 Oct 2011 06:48:05 +0000
(08:48 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Mon, 10 Oct 2011 06:48:05 +0000
(08:48 +0200)
selector.c
patch
|
blob
|
history
diff --git
a/selector.c
b/selector.c
index
2b51cf6
..
7f64eba
100644
(file)
--- 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);
}
}