build: get base of windows build for openzap going again (OPENZAP-55)

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@682 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Michael Jerris
2009-03-06 18:17:15 +00:00
parent 7cde4042ba
commit ea72f97b96
21 changed files with 1317 additions and 599 deletions

View File

@@ -268,7 +268,7 @@ struct hashtable_iterator *hashtable_next(struct hashtable_iterator *i)
{
if (i->e) {
if ((i->e = i->e->next)) {
if ((i->e = i->e->next) != 0) {
return i;
} else {
i->pos++;
@@ -283,7 +283,7 @@ struct hashtable_iterator *hashtable_next(struct hashtable_iterator *i)
return NULL;
}
if ((i->e = i->h->table[i->pos])) {
if ((i->e = i->h->table[i->pos]) != 0) {
return i;
}
@@ -307,7 +307,7 @@ void hashtable_this(struct hashtable_iterator *i, const void **key, int *klen, v
*key = i->e->k;
}
if (klen) {
*klen = strlen(i->e->k);
*klen = (int)strlen(i->e->k);
}
if (val) {
*val = i->e->v;