]> arthur.barton.de Git - netatalk.git/commitdiff
pap: var use % not $
authordidg <didg>
Thu, 14 Aug 2008 20:02:47 +0000 (20:02 +0000)
committerdidg <didg>
Thu, 14 Aug 2008 20:02:47 +0000 (20:02 +0000)
etc/papd/lp.c

index 35f2ee46fe46960c0f115cf053527af0940d1089..fe7aed188d2a7dd5c2dd655bbea74077b9505795 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: lp.c,v 1.15 2005-04-28 20:49:49 bfernhomberg Exp $
+ * $Id: lp.c,v 1.16 2008-08-14 20:02:47 didg Exp $
  *
  * Copyright (c) 1990,1994 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -258,9 +258,9 @@ static char* pipexlate(char *src)
             destlen -= len;
         }
 
-        /* stuff up to next $ */
+        /* stuff up to next % */
         src = p + 2;
-        p = strchr(src, '$');
+        p = strchr(src, '%');
         len = p ? MIN((size_t)(p - src), destlen) : destlen;
         if (len > 0) {
             strncpy(dest, src, len);