rsync/0001-use-lp_num_modules-instead-of-the-removed-lp_numserv.patch

26 lines
636 B
Diff
Raw Normal View History

From 50652ac755815d01a6954258ba7174bb8f4bb158 Mon Sep 17 00:00:00 2001
From: Vitezslav Cizek <vcizek@suse.cz>
Date: Fri, 25 Oct 2013 14:51:38 +0200
Subject: [PATCH] use lp_num_modules instead of the removed lp_numservices
---
slp.diff | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/slp.diff b/slp.diff
index a9703f1..953b400 100644
--- a/patches/slp.diff
+++ b/patches/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