X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fstatd%2Fcallback.c;h=bb8bf523be139199e06b17e765c2825b8ddb409e;hb=e6da8bc0d56d3106d663ab056b1ca484713f4d77;hp=09477271d6c5a4918a049ccde3ed02678dfb39c4;hpb=430052cab3c8044ef6d1be7b5a5ded13c45d0c40;p=nfs-utils.git diff --git a/utils/statd/callback.c b/utils/statd/callback.c index 0947727..bb8bf52 100644 --- a/utils/statd/callback.c +++ b/utils/statd/callback.c @@ -6,7 +6,9 @@ * NSM for Linux. */ -#include "config.h" +#ifdef HAVE_CONFIG_H +#include +#endif #include "statd.h" #include "notlist.h" @@ -47,7 +49,6 @@ sm_notify_1_svc(struct stat_chge *argp, struct svc_req *rqstp) if (NL_STATE(lp) != argp->state) { NL_STATE(lp) = argp->state; call = nlist_clone(lp); - NL_TYPE(call) = NOTIFY_CALLBACK; nlist_insert(¬ify, call); } lp = NL_NEXT(lp);