mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 08:39:37 -05:00
Fix previous change to strtok_quote
This commit is contained in:
parent
6b40ed4882
commit
1d8ae81a06
2 changed files with 4 additions and 6 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue