Compare function pointers against 0 rather than nil.

This commit is contained in:
wkj 2004-07-09 01:54:06 +00:00
parent eac9e0183f
commit a87638642c
13 changed files with 15 additions and 15 deletions

View file

@ -156,7 +156,7 @@ fsysproc(void *v)
error("convert error in convM2S");
if(DEBUG)
fprint(2, "%F\n", &x->fcall);
if(fcall[x->fcall.type] == nil)
if(fcall[x->fcall.type] == 0)
x = respond(x, &t, "bad fcall type");
else{
if(x->fcall.type==Tversion || x->fcall.type==Tauth)