X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Flibnfs-sync.c;h=510772fa1efe6f7e889ac7af2e7b1277157475a7;hb=647d2ea11cccea1e96629142abbe25de8ef1c7b5;hp=e1f95ff0544dc17ee9ab62c421e61917f4111c50;hpb=b077fdeb65aca9d9bc15fcd311372816d87dc213;p=deb_libnfs.git diff --git a/lib/libnfs-sync.c b/lib/libnfs-sync.c index e1f95ff..510772f 100644 --- a/lib/libnfs-sync.c +++ b/lib/libnfs-sync.c @@ -34,6 +34,9 @@ #include #include #include +#ifdef HAVE_SYS_SOCKIO_H +#include +#endif #include "libnfs.h" #include "libnfs-raw.h" #include "libnfs-raw-mount.h" @@ -1219,7 +1222,7 @@ void callit_cb(struct rpc_context *rpc, int status, void *data _U_, void *privat /* check for dupes */ for (srvr = srv_data->srvrs; srvr; srvr = srvr->next) { if (!strcmp(hostdd, srvr->addr)) { - return 0; + return; } }