X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fstatd%2Fcallback.c;h=505fdb3c742112d09ea25230ee5588c4ff6e9915;hb=299a990de1b16ff769201fa0ed38249853254497;hp=d5d036e9fc28357b3ef703f3da3005f7cee0ad06;hpb=d7b6997fd9daa91401088ff23ceadb33d4f5c037;p=nfs-utils.git diff --git a/utils/statd/callback.c b/utils/statd/callback.c index d5d036e..505fdb3 100644 --- a/utils/statd/callback.c +++ b/utils/statd/callback.c @@ -36,11 +36,9 @@ sm_notify_1_svc(struct stat_chge *argp, struct svc_req *rqstp) argp->mon_name, argp->state); /* quick check - don't bother if we're not monitoring anyone */ - /* LH - this was != MULL, meaning that if anyone _was_ in our RTNL, - * we'd never pass this point. */ - if (!(lp = rtnl)) { + if (rtnl == NULL) { note(N_WARNING, "SM_NOTIFY from %s while not monitoring any hosts.", - argp->mon_name, argp->state); + argp->mon_name); return ((void *) &result); }