Fossil SCM
Fix over-length comment string
Commit
2cdf86fcbff18766a1ddf9ebdfe8978f77fedbe667d96364d3aa41ac04fe2a30
Parent
b176932214d30d2…
1 file changed
+3
-2
+3
-2
| --- src/http.c | ||
| +++ src/http.c | ||
| @@ -569,12 +569,13 @@ | ||
| 569 | 569 | fossil_print("Read: [%s]\n", zLine); |
| 570 | 570 | } |
| 571 | 571 | if( fossil_strnicmp(zLine, "http/1.", 7)==0 ){ |
| 572 | 572 | if( sscanf(zLine, "HTTP/1.%d %d", &iHttpVersion, &rc)!=2 ) goto write_err; |
| 573 | 573 | if( rc/100==1 ){ |
| 574 | - /* Parse and discard an unexpected 1xx interim reply, most commonly "100 Continue". | |
| 575 | - ** Skip the remaining header lines of the reply. (A 1xx reply has no body.) */ | |
| 574 | + /* Parse and discard an unexpected 1xx interim reply, most commonly | |
| 575 | + ** "100 Continue". Skip the remaining header lines of the reply. | |
| 576 | + ** A 1xx reply has no body.) */ | |
| 576 | 577 | while( (zLine = transport_receive_line(&g.url))!=0 && zLine[0]!=0 ){} |
| 577 | 578 | if( zLine==0 ) goto write_err; |
| 578 | 579 | continue; |
| 579 | 580 | } |
| 580 | 581 | if( rc==401 ){ |
| 581 | 582 |
| --- src/http.c | |
| +++ src/http.c | |
| @@ -569,12 +569,13 @@ | |
| 569 | fossil_print("Read: [%s]\n", zLine); |
| 570 | } |
| 571 | if( fossil_strnicmp(zLine, "http/1.", 7)==0 ){ |
| 572 | if( sscanf(zLine, "HTTP/1.%d %d", &iHttpVersion, &rc)!=2 ) goto write_err; |
| 573 | if( rc/100==1 ){ |
| 574 | /* Parse and discard an unexpected 1xx interim reply, most commonly "100 Continue". |
| 575 | ** Skip the remaining header lines of the reply. (A 1xx reply has no body.) */ |
| 576 | while( (zLine = transport_receive_line(&g.url))!=0 && zLine[0]!=0 ){} |
| 577 | if( zLine==0 ) goto write_err; |
| 578 | continue; |
| 579 | } |
| 580 | if( rc==401 ){ |
| 581 |
| --- src/http.c | |
| +++ src/http.c | |
| @@ -569,12 +569,13 @@ | |
| 569 | fossil_print("Read: [%s]\n", zLine); |
| 570 | } |
| 571 | if( fossil_strnicmp(zLine, "http/1.", 7)==0 ){ |
| 572 | if( sscanf(zLine, "HTTP/1.%d %d", &iHttpVersion, &rc)!=2 ) goto write_err; |
| 573 | if( rc/100==1 ){ |
| 574 | /* Parse and discard an unexpected 1xx interim reply, most commonly |
| 575 | ** "100 Continue". Skip the remaining header lines of the reply. |
| 576 | ** A 1xx reply has no body.) */ |
| 577 | while( (zLine = transport_receive_line(&g.url))!=0 && zLine[0]!=0 ){} |
| 578 | if( zLine==0 ) goto write_err; |
| 579 | continue; |
| 580 | } |
| 581 | if( rc==401 ){ |
| 582 |