diff options
author | wkj <devnull@localhost> | 2004-07-09 01:54:06 +0000 |
---|---|---|
committer | wkj <devnull@localhost> | 2004-07-09 01:54:06 +0000 |
commit | a87638642c99d88a3543e0cd5864c9e54133fbee (patch) | |
tree | ccacfd6c58da316c208f1f014be0a15a28cad4b8 /src/cmd/acme | |
parent | eac9e0183f550f950bfcf5cdad959976cbe041ba (diff) | |
download | plan9port-a87638642c99d88a3543e0cd5864c9e54133fbee.tar.gz plan9port-a87638642c99d88a3543e0cd5864c9e54133fbee.tar.bz2 plan9port-a87638642c99d88a3543e0cd5864c9e54133fbee.zip |
Compare function pointers against 0 rather than nil.
Diffstat (limited to 'src/cmd/acme')
-rw-r--r-- | src/cmd/acme/fsys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/acme/fsys.c b/src/cmd/acme/fsys.c index fb4ae5c4..50e63411 100644 --- a/src/cmd/acme/fsys.c +++ b/src/cmd/acme/fsys.c @@ -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) |