Project

General

Profile

Bug #1591

mod_extforward.c fails to compile with old gcc version (2.96)

Added by cog about 8 years ago. Updated about 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

0%

Missing in 1.5.x:

Description

1.4.19 didn't want to compile on some of my older machines running gcc 2.96.

mod_extforward.c
+int i;
for (int i = a->used - 1; i >= 0; i-) {
+for (i = a->used - 1; i >= 0; i--) {

This compiles, but I hope I got the syntax correct.

Associated revisions

Revision 2772e62d (diff)
Added by stbuehler about 8 years ago

Fix mod_extforward to compile with old gcc version (#1591)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2129 152afb58-edef-0310-8abb-c4023f1b3aa9

History

#1 Updated by stbuehler about 8 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

Fixed in r2129

Also available in: Atom