From 42b9898a8a4a07a3134dadce5d24618a0c402fd1 Mon Sep 17 00:00:00 2001 From: horchi Date: Mon, 20 Mar 2017 18:02:17 +0100 Subject: 2017-03-20: version 1.1.113 (horchi)\n -added: Add validity check of the API key for https://www.themoviedb.org (by 3po)\n - change: Removed compiler warnings when using clang\n - added: Added clang++ to Make.config (as optional compiler)\n\n --- svdrpclient.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'svdrpclient.c') diff --git a/svdrpclient.c b/svdrpclient.c index 737330e..86a078c 100644 --- a/svdrpclient.c +++ b/svdrpclient.c @@ -449,7 +449,7 @@ int cSvdrpClient::connect() { if (errno != EINPROGRESS) { - tell(0, "Error: SVDRPCL: connect to %s:%hu failed: %s", ip, port, strerror(errno)); + tell(0, "Error: SVDRPCL: connect to %s:%d failed: %s", ip, port, strerror(errno)); return fail; } @@ -490,7 +490,7 @@ int cSvdrpClient::connect() if (result != 0) { - tell(0, "Error: SVDRPCL: Cconnecting to '%s:%hu' %s failed", ip, port, strerror(errno)); + tell(0, "Error: SVDRPCL: Cconnecting to '%s:%d' %s failed", ip, port, strerror(errno)); ::close(sock); return fail; @@ -533,7 +533,7 @@ int cSvdrpClient::open() if (greeting.First() && greeting.First()->Text()) msg = greeting.First()->Text(); - tell(2, "SVDRPCL: connected to %s:%hu '%s'", ip, port, msg); + tell(2, "SVDRPCL: connected to %s:%d '%s'", ip, port, msg); return success; } -- cgit v1.2.3