]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix CGI scripts (STR #4454)
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 18 Jul 2014 20:37:44 +0000 (20:37 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 18 Jul 2014 20:37:44 +0000 (20:37 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12051 a1ca3aef-8c08-0410-bb20-df032aa958be

CHANGES-1.7.txt
scheduler/client.c

index f974504879e36bb2caa389f4272b3dea2d9a6980..b9e7f050683f3cad0c271ca8fbde0354c9a998fd 100644 (file)
@@ -4,6 +4,7 @@ CHANGES-1.7.txt
 CHANGES IN CUPS V1.7.5
 
        - The LPD backend did not work with some versions of glibc (STR #4452)
+       - CGI scripts did not work (STR #4454)
 
 
 CHANGES IN CUPS V1.7.4
index 598df3c8aa76d7a9ff81f0de70e9bcb230fb276b..67a59bc14ef91fc1f14607944d94167fb35f05c9 100644 (file)
@@ -3458,12 +3458,7 @@ pipe_command(cupsd_client_t *con,        /* I - Client connection */
   argv[0] = command;
 
   if (options)
-  {
-    commptr = options;
-    if (*commptr == ' ')
-      commptr ++;
-    strlcpy(argbuf, commptr, sizeof(argbuf));
-  }
+    strlcpy(argbuf, options, sizeof(argbuf));
   else
     argbuf[0] = '\0';