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
|
|
@ -233,7 +233,7 @@ fsysproc(void *v)
|
|||
error("convert error in convM2S");
|
||||
if(debug)
|
||||
fprint(2, "<= %F\n", t);
|
||||
if(fcall[t->type] == nil)
|
||||
if(fcall[t->type] == 0)
|
||||
fsysrespond(t, buf, Ebadfcall);
|
||||
else{
|
||||
if(t->type==Tversion || t->type==Tauth)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue