* src/hash.c: fix a couple of problems in virHashRemoveSet based
on Hiroyuki Kaguchi patch and explanations.
Daniel
+Thu Feb 7 17:46:14 CET 2008 Daniel Veillard <veillard@redhat.com>
+
+ * src/hash.c: fix a couple of problems in virHashRemoveSet based
+ on Hiroyuki Kaguchi patch and explanations.
+
Thu Feb 7 17:48:30 CET 2008 Jim Meyering <meyering@redhat.com>
Mark all qemudLog diagnostics for translation.
* src/xml.c (virXPathString): Likewise.
* tests/xmlrpctest.c (checkRequestValue): Likewise.
+2008-02-07 Jim Meyering <meyering@redhat.com>
+
* src/xm_internal.c: Remove trailing blanks
* NEWS, ChangeLog: Likewise.
count++;
f(entry->payload, entry->name);
free(entry->name);
+ table->nbElems--;
if (prev) {
prev->next = entry->next;
free(entry);
+ entry = prev;
} else {
if (entry->next == NULL) {
entry->valid = 0;
memcpy(&(table->table[i]), entry,
sizeof(virHashEntry));
free(entry);
- entry = NULL;
+ entry = &(table->table[i]);
+ continue;
}
}
- table->nbElems--;
}
prev = entry;
if (entry) {
entry = entry->next;
- } else {
- entry = NULL;
}
}
}