Fossil SCM
Comment fix.
Commit
c3a17f81cff300eddc2eaed7dbe26d840c9d6c3a
Parent
c45195f12375dd6…
1 file changed
+2
-2
+2
-2
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -1398,14 +1398,14 @@ | ||
| 1398 | 1398 | if( g.zBaseURL!=0 ) return; |
| 1399 | 1399 | if( zAltBase ){ |
| 1400 | 1400 | int i, n, c; |
| 1401 | 1401 | g.zTop = g.zBaseURL = mprintf("%s", zAltBase); |
| 1402 | 1402 | if( memcmp(g.zTop, "http://", 7)==0 ){ |
| 1403 | - /* its HTTP, replace prefix with HTTPS. */ | |
| 1403 | + /* it is HTTP, replace prefix with HTTPS. */ | |
| 1404 | 1404 | g.zHttpsURL = mprintf("https://%s", &g.zTop[7]); |
| 1405 | 1405 | }else if( memcmp(g.zTop,"https://",8)==0 ){ |
| 1406 | - /* its already HTTPS, use it. */ | |
| 1406 | + /* it is already HTTPS, use it. */ | |
| 1407 | 1407 | g.zHttpsURL = mprintf("%s", g.zTop); |
| 1408 | 1408 | }else{ |
| 1409 | 1409 | fossil_fatal("argument to --baseurl should be 'http://host/path'" |
| 1410 | 1410 | " or 'https://host/path'"); |
| 1411 | 1411 | } |
| 1412 | 1412 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -1398,14 +1398,14 @@ | |
| 1398 | if( g.zBaseURL!=0 ) return; |
| 1399 | if( zAltBase ){ |
| 1400 | int i, n, c; |
| 1401 | g.zTop = g.zBaseURL = mprintf("%s", zAltBase); |
| 1402 | if( memcmp(g.zTop, "http://", 7)==0 ){ |
| 1403 | /* its HTTP, replace prefix with HTTPS. */ |
| 1404 | g.zHttpsURL = mprintf("https://%s", &g.zTop[7]); |
| 1405 | }else if( memcmp(g.zTop,"https://",8)==0 ){ |
| 1406 | /* its already HTTPS, use it. */ |
| 1407 | g.zHttpsURL = mprintf("%s", g.zTop); |
| 1408 | }else{ |
| 1409 | fossil_fatal("argument to --baseurl should be 'http://host/path'" |
| 1410 | " or 'https://host/path'"); |
| 1411 | } |
| 1412 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -1398,14 +1398,14 @@ | |
| 1398 | if( g.zBaseURL!=0 ) return; |
| 1399 | if( zAltBase ){ |
| 1400 | int i, n, c; |
| 1401 | g.zTop = g.zBaseURL = mprintf("%s", zAltBase); |
| 1402 | if( memcmp(g.zTop, "http://", 7)==0 ){ |
| 1403 | /* it is HTTP, replace prefix with HTTPS. */ |
| 1404 | g.zHttpsURL = mprintf("https://%s", &g.zTop[7]); |
| 1405 | }else if( memcmp(g.zTop,"https://",8)==0 ){ |
| 1406 | /* it is already HTTPS, use it. */ |
| 1407 | g.zHttpsURL = mprintf("%s", g.zTop); |
| 1408 | }else{ |
| 1409 | fossil_fatal("argument to --baseurl should be 'http://host/path'" |
| 1410 | " or 'https://host/path'"); |
| 1411 | } |
| 1412 |