From 6e6126bcbee01b6eece0429e41180ff6bfe87301 Mon Sep 17 00:00:00 2001 From: didg Date: Thu, 14 Aug 2008 20:04:16 +0000 Subject: [PATCH] pap: vars use % not $ --- etc/papd/lp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/papd/lp.c b/etc/papd/lp.c index 457fe099..3de4b4c5 100644 --- a/etc/papd/lp.c +++ b/etc/papd/lp.c @@ -1,5 +1,5 @@ /* - * $Id: lp.c,v 1.14.8.4 2004-06-09 02:24:47 bfernhomberg Exp $ + * $Id: lp.c,v 1.14.8.4.2.1 2008-08-14 20:04:16 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); -- 2.39.2