Fossil SCM

Fix over-length comment string

danshearer 2026-07-28 01:48 UTC trunk
Commit 2cdf86fcbff18766a1ddf9ebdfe8978f77fedbe667d96364d3aa41ac04fe2a30
1 file changed +3 -2
+3 -2
--- src/http.c
+++ src/http.c
@@ -569,12 +569,13 @@
569569
fossil_print("Read: [%s]\n", zLine);
570570
}
571571
if( fossil_strnicmp(zLine, "http/1.", 7)==0 ){
572572
if( sscanf(zLine, "HTTP/1.%d %d", &iHttpVersion, &rc)!=2 ) goto write_err;
573573
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.) */
576577
while( (zLine = transport_receive_line(&g.url))!=0 && zLine[0]!=0 ){}
577578
if( zLine==0 ) goto write_err;
578579
continue;
579580
}
580581
if( rc==401 ){
581582
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button