From: Matthijs Mekking Date: Mon, 24 Oct 2011 13:22:16 +0000 (+0000) Subject: that's more clear X-Git-Tag: release-1.6.12~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06138c57ead0437980dab616f817dff0be203696;p=thirdparty%2Fldns.git that's more clear --- diff --git a/parse.c b/parse.c index 3689b60a..15cc300f 100644 --- a/parse.c +++ b/parse.c @@ -56,7 +56,7 @@ ldns_fget_token_l(FILE *f, char *token, const char *delim, size_t limit, int *li quoted = 1; } while ((c = getc(f)) != EOF) { - if (c == 13) /* carriage return */ + if (c == '\r') /* carriage return */ c = ' '; if (c == '(' && prev_c != '\\' && !quoted) { /* this only counts for non-comments */ @@ -243,7 +243,7 @@ ldns_bget_token(ldns_buffer *b, char *token, const char *delim, size_t limit) } while ((c = ldns_bgetc(b)) != EOF) { - if (c == 13) /* carriage return */ + if (c == '\r') /* carriage return */ c = ' '; if (c == '(' && lc != '\\' && !quoted) { /* this only counts for non-comments */