Browse Source

Added missing line to set return status code.

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
a5f33ea283
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/net/tcp/http.c

+ 1
- 0
src/net/tcp/http.c View File

349
 			len = line_buffer ( &http->linebuf, iobuf->data,
349
 			len = line_buffer ( &http->linebuf, iobuf->data,
350
 					    iob_len ( iobuf ) );
350
 					    iob_len ( iobuf ) );
351
 			if ( len < 0 ) {
351
 			if ( len < 0 ) {
352
+				rc = len;
352
 				DBGC ( http, "HTTP %p could not buffer line: "
353
 				DBGC ( http, "HTTP %p could not buffer line: "
353
 				       "%s\n", http, strerror ( rc ) );
354
 				       "%s\n", http, strerror ( rc ) );
354
 				goto done;
355
 				goto done;

Loading…
Cancel
Save