Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 331747 | Differences between
and this patch

Collapse All | Expand All

(-)thttpd-2.25b.orig/libhttpd.c (-1 / +1 lines)
Lines 3279-3285 Link Here
3279
	cp += strspn( cp, " \t" );
3279
	cp += strspn( cp, " \t" );
3280
	status = atoi( cp );
3280
	status = atoi( cp );
3281
	}
3281
	}
3282
    if ( ( cp = strstr( headers, "Location:" ) ) != (char*) 0 &&
3282
    else if ( ( cp = strstr( headers, "Location:" ) ) != (char*) 0 &&
3283
	 cp < br &&
3283
	 cp < br &&
3284
	 ( cp == headers || *(cp-1) == '\012' ) )
3284
	 ( cp == headers || *(cp-1) == '\012' ) )
3285
	status = 302;
3285
	status = 302;

Return to bug 331747