aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver/hash-list.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-22 00:38:50 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-22 00:38:50 +0200
commited937dd3058b10e0ec5fdcffd93dc2c2a7f2c2da (patch)
tree31155457a0f27e05acdf70682caeeb86cc5769c2 /src/libmdsserver/hash-list.h
parentadd and use xclose and xfclose, we do not want close or fclose to be ignored because a singal interrupts it. (diff)
downloadmds-ed937dd3058b10e0ec5fdcffd93dc2c2a7f2c2da.tar.gz
mds-ed937dd3058b10e0ec5fdcffd93dc2c2a7f2c2da.tar.bz2
mds-ed937dd3058b10e0ec5fdcffd93dc2c2a7f2c2da.tar.xz
typo + mds-colour: print colour list on SIGINFO
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/libmdsserver/hash-list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmdsserver/hash-list.h b/src/libmdsserver/hash-list.h
index dfc4489..fcd9eb4 100644
--- a/src/libmdsserver/hash-list.h
+++ b/src/libmdsserver/hash-list.h
@@ -507,7 +507,7 @@ T##_unmarshal(T##_t* restrict this, char* restrict data)\
*/
#define foreach_hash_list_entry(this, i, entry) \
for (i = 0; i < (this).used; i++) \
- if (entry = (this).slots, entry->keys != NULL)
+ if (entry = (this).slots, entry->key != NULL)
#endif