Fossil SCM

Comment fix.

mistachkin 2016-02-01 04:11 UTC httpsBaseUrl
Commit c3a17f81cff300eddc2eaed7dbe26d840c9d6c3a
1 file changed +2 -2
+2 -2
--- src/main.c
+++ src/main.c
@@ -1398,14 +1398,14 @@
13981398
if( g.zBaseURL!=0 ) return;
13991399
if( zAltBase ){
14001400
int i, n, c;
14011401
g.zTop = g.zBaseURL = mprintf("%s", zAltBase);
14021402
if( memcmp(g.zTop, "http://", 7)==0 ){
1403
- /* its HTTP, replace prefix with HTTPS. */
1403
+ /* it is HTTP, replace prefix with HTTPS. */
14041404
g.zHttpsURL = mprintf("https://%s", &g.zTop[7]);
14051405
}else if( memcmp(g.zTop,"https://",8)==0 ){
1406
- /* its already HTTPS, use it. */
1406
+ /* it is already HTTPS, use it. */
14071407
g.zHttpsURL = mprintf("%s", g.zTop);
14081408
}else{
14091409
fossil_fatal("argument to --baseurl should be 'http://host/path'"
14101410
" or 'https://host/path'");
14111411
}
14121412
--- 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

Keyboard Shortcuts

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