summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2016-02-11 19:50:55 +0100
committerMichał Cichoń <michcic@gmail.com>2017-05-17 03:01:05 +0200
commitba183a09135c03763a4790cdafac2e43d8dbccd0 (patch)
tree66d4485414c8f4cbda78a58d72f1747fffe1f43a /src
parentefa50e960dab5d6134994bf81c18e5397f2ae924 (diff)
downloadpianobar-windows-ba183a09135c03763a4790cdafac2e43d8dbccd0.tar.gz
pianobar-windows-ba183a09135c03763a4790cdafac2e43d8dbccd0.tar.bz2
pianobar-windows-ba183a09135c03763a4790cdafac2e43d8dbccd0.zip
Add default value for rpcTlsPort
Passing NULL to printf and the result to curl may or may not work. YMMV. Fixes #574. # Conflicts: # src/ui.c
Diffstat (limited to 'src')
-rw-r--r--src/settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.c b/src/settings.c
index 0765bc8..6ba2e91 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -180,7 +180,7 @@ void BarSettingsRead (BarSettings_t *settings) {
settings->titleFormat = strdup (TITLE " - \"%t\" by \"%a\" on \"%l\"%r%@%s");
settings->player = NULL;
settings->rpcHost = strdup (PIANO_RPC_HOST);
- settings->rpcTlsPort = NULL;
+ settings->rpcTlsPort = strdup ("443");
settings->partnerUser = strdup ("android");
settings->partnerPassword = strdup ("AC7IBG09A3DTSYM4R41UJWL07VLN8JI7");
settings->device = strdup ("android-generic");