callit_cb() : dont return a value from avoid function
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 28 Aug 2011 08:59:13 +0000 (18:59 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 28 Aug 2011 08:59:13 +0000 (18:59 +1000)
lib/libnfs-sync.c

index e1f95ff0544dc17ee9ab62c421e61917f4111c50..5d46e70b935d445166f4c2d8d7fed64f307c22fa 100644 (file)
@@ -1219,7 +1219,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;
                }
        }