Skip to content
Permalink
Browse files

skip NON-SPACE, not skip spaces.

When making global changes, using "perl -p -i -e s/find/replace/g"
is MUCH safer and MUCH better than using random other tools.
  • Loading branch information
alandekok committed Aug 30, 2019
1 parent 1fe6b22 commit 59cd3df088d4a8955deb2b29a6600bc8cc55d2e7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/lib/server/command.c
@@ -1871,7 +1871,7 @@ static char const *skip_word(char const *text)
char const *word = text;

if ((*word != '"') && (*word != '\'')) {
fr_skip_spaces(word);
while (*word && !isspace((int) *word)) word++;
return word;
}

0 comments on commit 59cd3df

Please sign in to comment.
You can’t perform that action at this time.