[PATCH] rsync-patches/slp.diff: use lp_num_modules instead of the removed lp_numserv

Vitezslav Cizek vcizek at suse.cz
Fri Oct 25 07:38:46 MDT 2013


Hello,
rsync-patches/slp.diff is still using lp_numserv which was removed by
commit b583594ac7d2f8a38aca85c1bfa4b1487122377a

Signed-off-by: Vitezslav Cizek <vcizek at suse.cz>
---
 slp.diff | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slp.diff b/slp.diff
index a9703f1..953b400 100644
--- a/slp.diff
+++ b/slp.diff
@@ -479,7 +479,7 @@ new file mode 100644
 +		exit_cleanup(RERR_SYNTAX);
 +	}
 +
-+	n = lp_numservices();
++	n = lp_num_modules();
 +
 +	if (0 == lp_slp_refresh())
 +		timeout = SLP_LIFETIME_MAXIMUM; /* don't expire, ever */
-- 
1.8.4


-- 
Vita Cizek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/rsync/attachments/20131025/2f680d4e/attachment.pgp>


More information about the rsync mailing list