Fossil SCM

Fix the "fossil server" command on windows os that it honors the --https option.

drh 2019-07-30 18:55 trunk
Commit 8ed91bbe44d0d383d67c30a1fe3817fe34ce5736d393f8ccb4646e14d490000b
1 file changed +3
--- src/winhttp.c
+++ src/winhttp.c
@@ -535,10 +535,13 @@
535535
const char *zSavedKey = 0;
536536
size_t savedKeySize = 0;
537537
#endif
538538
539539
blob_zero(&options);
540
+ if( PB("HTTPS") ){
541
+ blob_appendf(&options, " --https");
542
+ }
540543
if( zBaseUrl ){
541544
blob_appendf(&options, " --baseurl %s", zBaseUrl);
542545
}
543546
if( zNotFound ){
544547
blob_appendf(&options, " --notfound %s", zNotFound);
545548
--- src/winhttp.c
+++ src/winhttp.c
@@ -535,10 +535,13 @@
535 const char *zSavedKey = 0;
536 size_t savedKeySize = 0;
537 #endif
538
539 blob_zero(&options);
 
 
 
540 if( zBaseUrl ){
541 blob_appendf(&options, " --baseurl %s", zBaseUrl);
542 }
543 if( zNotFound ){
544 blob_appendf(&options, " --notfound %s", zNotFound);
545
--- src/winhttp.c
+++ src/winhttp.c
@@ -535,10 +535,13 @@
535 const char *zSavedKey = 0;
536 size_t savedKeySize = 0;
537 #endif
538
539 blob_zero(&options);
540 if( PB("HTTPS") ){
541 blob_appendf(&options, " --https");
542 }
543 if( zBaseUrl ){
544 blob_appendf(&options, " --baseurl %s", zBaseUrl);
545 }
546 if( zNotFound ){
547 blob_appendf(&options, " --notfound %s", zNotFound);
548

Keyboard Shortcuts

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