diff options
Diffstat (limited to 'connect/urlquery.c')
-rw-r--r-- | connect/urlquery.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/connect/urlquery.c b/connect/urlquery.c index 626a15e1..da1dc619 100644 --- a/connect/urlquery.c +++ b/connect/urlquery.c @@ -128,7 +128,10 @@ NLM_EXTERN CONN QUERY_OpenUrlQuery ( } if ( host_port ) { net_info->port = host_port; + } else { + net_info->scheme = eURL_Https; } + StringNCpy_0 (net_info->path, host_path, sizeof (net_info->path)); if (StringDoesHaveText (arguments)) { StringNCpy_0 (net_info->args, arguments, sizeof (net_info->args)); |