Compare pointers to NULL rather than make it look like they are ints.

This commit is contained in:
obrien 2003-01-06 17:15:35 +00:00
parent 3d3d365329
commit 9043c08e47

View File

@ -650,7 +650,7 @@ distExtract(char *parent, Distribution *me)
goto done;
}
}
else if (fp > 0) {
else if (fp != NULL) {
if (isDebug())
msgDebug("Parsing attributes file for distribution %s\n", dist);
@ -695,7 +695,7 @@ distExtract(char *parent, Distribution *me)
else
goto getsingle;
}
else if (fp > 0) {
else if (fp != NULL) {
char *dir = root_bias(me[i].my_dir);
dialog_clear_norefresh();