Fix typo with return values in realloc_descrs.

Signed-off-by: Love Hörnquist Åstrand <lha@h5l.org>
This commit is contained in:
Dana Koch
2012-11-22 11:20:48 +08:00
committed by Love Hörnquist Åstrand
parent 9ad763288d
commit a95cae113d

View File

@@ -832,7 +832,7 @@ realloc_descrs(struct descr **d, unsigned int *ndescr)
tmp = realloc(*d, (*ndescr + 4) * sizeof(**d));
if(tmp == NULL)
return TRUE;
return FALSE;
*d = tmp;
reinit_descrs (*d, *ndescr);
@@ -842,7 +842,7 @@ realloc_descrs(struct descr **d, unsigned int *ndescr)
*ndescr += 4;
return FALSE;
return TRUE;
}
int