Skip to content

Commit

Permalink
Whoops, introduced a bug in wsgi_http_header 2630d
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashaag committed Jan 2, 2011
1 parent 2630d40 commit 3d215e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bjoern/request.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ wsgi_http_header(Request* request, const char* data, size_t len)
*dest++ = 'P';
*dest++ = '_';

while(--len) {
while(len--) {
char c = *data++;
if(c == '-')
*dest++ = '_';
Expand Down

0 comments on commit 3d215e5

Please sign in to comment.