[prev in list] [next in list] [prev in thread] [next in thread]
List: dovecot-cvs
Subject: [dovecot-cvs] dovecot/src/lib hash.c,1.20,1.21
From: cras () procontrol ! fi (cras () procontrol ! fi)
Date: 2003-12-03 20:14:33
Message-ID: 20031203181428.B71E523841 () danu ! procontrol ! fi
[Download RAW message or body]
Update of /home/cvs/dovecot/src/lib
In directory danu:/tmp/cvs-serv13046
Modified Files:
hash.c
Log Message:
bugfix
Index: hash.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/hash.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- hash.c 3 Dec 2003 13:16:29 -0000 1.20
+++ hash.c 3 Dec 2003 18:14:26 -0000 1.21
@@ -341,14 +341,13 @@
struct hash_node *node)
{
do {
+ node = node->next;
if (node == NULL) {
if (++ctx->pos == ctx->table->size) {
ctx->pos--;
return NULL;
}
node = &ctx->table->nodes[ctx->pos];
- } else {
- node = node->next;
}
} while (node->key == NULL);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic