diff options
Diffstat (limited to 'src/htable.h')
-rw-r--r-- | src/htable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htable.h b/src/htable.h index 7ceab4c..67d4a0d 100644 --- a/src/htable.h +++ b/src/htable.h @@ -1,4 +1,4 @@ -/* $calcurse: htable.h,v 1.2 2008/11/09 20:10:18 culot Exp $ */ +/* $Id: htable.h,v 1.3 2008/11/16 17:42:53 culot Exp $ */ /* * Copyright (c) 2008 Frederic Culot <frederic@culot.org> @@ -152,7 +152,7 @@ name##_HTABLE_INSERT(struct name *head, struct type *elm) \ while ((__bktp = *__bktpp)) \ { \ if (!(cmp)(elm, __bktp)) \ - return __bktp; \ + return NULL; \ else \ { \ __pos++; \ |