From 1d8ae81a0690d54ac6ccd7e70064ab30d6dcd10d Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Tue, 23 Feb 1999 15:48:47 +0000 Subject: [PATCH] Fix previous change to strtok_quote --- servers/slapd/config.c | 5 ++--- servers/slurpd/config.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/servers/slapd/config.c b/servers/slapd/config.c index a62d7f11b4..74560b5a46 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -603,11 +603,10 @@ strtok_quote( char *line, char *sep ) break; case '\\': - if ( next[1] ) { + if ( next[1] ) SAFEMEMCPY( next, next + 1, strlen( next + 1 ) + 1 ); - next++; /* dont parse the escaped character */ - } + next++; /* dont parse the escaped character */ break; default: diff --git a/servers/slurpd/config.c b/servers/slurpd/config.c index 2dc50aa357..247910bfcc 100644 --- a/servers/slurpd/config.c +++ b/servers/slurpd/config.c @@ -177,10 +177,9 @@ strtok_quote( break; case '\\': - if ( next[1] ) { + if ( next[1] ) SAFEMEMCPY( next, next + 1, strlen( next + 1 ) + 1 ); - next++; /* dont parse the escaped character */ - } + next++; /* dont parse the escaped character */ break; default: -- 2.39.5