diff options
-rw-r--r-- | src/plugins/relay/relay-remote.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/relay/relay-remote.c b/src/plugins/relay/relay-remote.c index 12880d3da..080b99ce2 100644 --- a/src/plugins/relay/relay-remote.c +++ b/src/plugins/relay/relay-remote.c @@ -458,7 +458,10 @@ relay_remote_new (const char *name, const char *url, const char *proxy, for (i = 0; i < RELAY_REMOTE_NUM_OPTIONS; i++) { - option[i] = relay_config_create_remote_option (name, i, value[i]); + option[i] = relay_config_create_remote_option ( + name, + i, + (value[i]) ? value[i] : ""); } new_remote = relay_remote_new_with_options (name, option); |