use nil instead of 0
This commit is contained in:
parent
5544aaf99b
commit
8c0613150e
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ fsysproc(void *v)
|
||||||
error("convert error in convM2S");
|
error("convert error in convM2S");
|
||||||
if(DEBUG)
|
if(DEBUG)
|
||||||
fprint(2, "%F\n", &x->fcall);
|
fprint(2, "%F\n", &x->fcall);
|
||||||
if(fcall[x->fcall.type] == 0)
|
if(fcall[x->fcall.type] == nil)
|
||||||
x = respond(x, &t, "bad fcall type");
|
x = respond(x, &t, "bad fcall type");
|
||||||
else{
|
else{
|
||||||
switch(x->fcall.type){
|
switch(x->fcall.type){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue