Fix build with clang.

PR:		172216
Submitted by:	Miklos Magyari
Feature safe:	yes
This commit is contained in:
Ion-Mihai Tetcu 2012-11-30 22:44:50 +00:00
parent 2096764a85
commit 899237ccc0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308028

View File

@ -0,0 +1,11 @@
--- ./ffget.c.orig 2008-12-13 03:13:09.000000000 +0200
+++ ./ffget.c 2012-12-01 00:41:29.000000000 +0200
@@ -550,7 +550,7 @@
// if we have another \r after it, in which case, we
// turn on SINGLE_DELIMETER_MODE.
- if ( (*crlfpos == '\r') )
+ if (*crlfpos == '\r')
{
f->linebreak = FFGET_LINEBREAK_CR;
snprintf(f->lastbreak,sizeof(f->lastbreak),"\r");