commit | a87638642c99d88a3543e0cd5864c9e54133fbee | [log] [tgz] |
---|---|---|
author | wkj <devnull@localhost> | Fri Jul 09 01:54:06 2004 +0000 |
committer | wkj <devnull@localhost> | Fri Jul 09 01:54:06 2004 +0000 |
tree | ccacfd6c58da316c208f1f014be0a15a28cad4b8 | |
parent | eac9e0183f550f950bfcf5cdad959976cbe041ba [diff] [blame] |
Compare function pointers against 0 rather than nil.
diff --git a/src/cmd/plumb/fsys.c b/src/cmd/plumb/fsys.c index 0f5bcc8..0ffd505 100644 --- a/src/cmd/plumb/fsys.c +++ b/src/cmd/plumb/fsys.c
@@ -233,7 +233,7 @@ 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)