Kaynağa Gözat

Added missing line to set return status code.

tags/v0.9.3
Michael Brown 17 yıl önce
ebeveyn
işleme
a5f33ea283
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1
    0
      src/net/tcp/http.c

+ 1
- 0
src/net/tcp/http.c Dosyayı Görüntüle

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

Loading…
İptal
Kaydet