summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Untz <vuntz@novell.com>2008-11-21 00:41:10 +0100
committerVincent Untz <vuntz@novell.com>2008-11-21 00:41:10 +0100
commit5d4ef2f827e83abbd59c16b31d2ee0a76dc44b86 (patch)
treea81ed9a5d3745a92e908ebe6815b95411f23596f
parent0045b8483c9a55ff46c9a5b994b58f6157a46803 (diff)
Fix check for remote hplip.
-rw-r--r--src/cups.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cups.c b/src/cups.c
index c1fae3a..0762f4d 100644
--- a/src/cups.c
+++ b/src/cups.c
@@ -1541,6 +1541,7 @@ cph_cups_is_printer_uri_local (const char *uri)
buf = strchr (lower_uri, '?');
while (buf) {
+ buf++;
if (g_str_has_prefix (buf, "ip="))
break;
buf = strchr (buf, '&');