projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aa4bd6
)
Fix STEMlab start error output formatting
author
Markus Großer
<markus.grosser2+git@gmail.com>
Tue, 5 Dec 2017 13:57:52 +0000
(14:57 +0100)
committer
Markus Großer
<markus.grosser2+git@gmail.com>
Tue, 5 Dec 2017 13:57:52 +0000
(14:57 +0100)
This simply adds a colon between the user message and the cURL error.
stemlab_discovery.c
patch
|
blob
|
history
diff --git
a/stemlab_discovery.c
b/stemlab_discovery.c
index 4581bd13680eb0d35881f60d7b1687838b70fa2b..19278846f202bfdd88489919a4bd3a97be280aeb 100644
(file)
--- 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); \
} \