From b293fdc4f68fdba6bc92fca78f97d6fb4428ba9a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Markus=20Gro=C3=9Fer?= Date: Tue, 5 Dec 2017 14:57:52 +0100 Subject: [PATCH] Fix STEMlab start error output formatting This simply adds a colon between the user message and the cURL error. --- stemlab_discovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stemlab_discovery.c b/stemlab_discovery.c index 4581bd1..1927884 100644 --- a/stemlab_discovery.c +++ b/stemlab_discovery.c @@ -301,7 +301,7 @@ void stemlab_start_app(const char * const app_id) { CURLcode curl_error = CURLE_OK; #define check_curl(description) do { \ if (curl_error != CURLE_OK) { \ - fprintf(stderr, "stemlab_start: " description "%s\n", \ + fprintf(stderr, "stemlab_start: " description ": %s\n", \ curl_easy_strerror(curl_error)); \ exit(-1); \ } \ -- 2.45.2