~ubuntu-branches/ubuntu/utopic/cups-pk-helper/utopic

« back to all changes in this revision

Viewing changes to debian/patches/0001-Use-g_strjoinv-instead-of-g_strjoin.patch

  • Committer: Bazaar Package Importer
  • Author(s): Guido Günther
  • Date: 2011-04-12 19:01:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110412190148-s996ir8ie0lulg4a
Tags: 0.1.2-1
* [019a316] New upstream version 0.1.2 (Closes: #622366)
* [22a7fb4] Add Vcs links for Debian and Upstream
* [5acc7f6] Add watch file
* [e12aaf4] Drop patches, fixed upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
2
 
Date: Mon, 26 Jul 2010 17:55:40 +0200
3
 
Subject: [PATCH] Use g_strjoinv instead of g_strjoin
4
 
 
5
 
---
6
 
 src/cups.c |    4 ++--
7
 
 1 files changed, 2 insertions(+), 2 deletions(-)
8
 
 
9
 
diff --git a/src/cups.c b/src/cups.c
10
 
index e439051..4df9945 100644
11
 
--- a/src/cups.c
12
 
+++ b/src/cups.c
13
 
@@ -1227,12 +1227,12 @@ _cph_cups_devices_get_14 (CphCups            *cups,
14
 
                 timeout_param = timeout;
15
 
 
16
 
         if (include_schemes && len_include > 0)
17
 
-                include_schemes_param = g_strjoin (",", include_schemes);
18
 
+                include_schemes_param = g_strjoinv (",", include_schemes);
19
 
         else
20
 
                 include_schemes_param = g_strdup (CUPS_INCLUDE_ALL);
21
 
 
22
 
         if (exclude_schemes && len_exclude > 0)
23
 
-                exclude_schemes_param = g_strjoin (",", exclude_schemes);
24
 
+                exclude_schemes_param = g_strjoinv (",", exclude_schemes);
25
 
         else
26
 
                 exclude_schemes_param = g_strdup (CUPS_EXCLUDE_NONE);
27