X-Git-Url: https://git.toastfreeware.priv.at/gregoa/bti.git/blobdiff_plain/0b6b14f8523b6d14af373ce66e610093b2297dc8..f4584ef10960213549bd55790efb9a73eef37c7d:/bti.c diff --git a/bti.c b/bti.c index 9fb5f54..147d44b 100644 --- a/bti.c +++ b/bti.c @@ -726,7 +726,7 @@ static int send_request(struct session *session) if (!reply) { fprintf(stderr, "Error retrieving from URL (%s)\n", endpoint); - return 1; + return -EIO; } if ((session->action != ACTION_UPDATE) &&