]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix logic error (need to move only the remaining characters in the string).
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Wed, 27 Jan 2016 16:05:05 +0000 (16:05 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Wed, 27 Jan 2016 16:05:05 +0000 (16:05 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@13063 a1ca3aef-8c08-0410-bb20-df032aa958be

cups/encode.c

index c6efb7d2c4d43a07394b242519cd8c13944761a7..ccefe8a0dc709cf492fdca142e7a4df7897faf6c 100644 (file)
@@ -632,7 +632,7 @@ cupsEncodeOptions2(
            * Skip quoted character...
            */
 
-           memmove(sep, sep + 1, strlen(val));
+           memmove(sep, sep + 1, strlen(sep));
            sep ++;
          }
        }