Compare function pointers against 0 rather than nil.
This commit is contained in:
parent
eac9e0183f
commit
a87638642c
13 changed files with 15 additions and 15 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue