X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fstatd%2Fnotlist.c;h=de7d0465e60877300ba2cbf30a40516a6484f154;hp=1698c26abef92166941dc39eba066b879422957c;hb=cbd3a131e5c02bbd7b92a72b3ac467d71cfee1c4;hpb=f0d3a4bedccca7cce48296757bc1c8bd59b80828 diff --git a/utils/statd/notlist.c b/utils/statd/notlist.c index 1698c26..de7d046 100644 --- a/utils/statd/notlist.c +++ b/utils/statd/notlist.c @@ -17,7 +17,6 @@ #endif #include -#include "misc.h" #include "statd.h" #include "notlist.h" @@ -234,7 +233,8 @@ nlist_gethost(notify_list *list, char *host, int myname) notify_list *lp; for (lp = list; lp; lp = lp->next) { - if (matchhostname(host, myname? NL_MY_NAME(lp) : NL_MON_NAME(lp))) + if (statd_matchhostname(host, + myname? NL_MY_NAME(lp) : NL_MON_NAME(lp))) return lp; }