From f4584ef10960213549bd55790efb9a73eef37c7d Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Fri, 18 Feb 2011 15:48:37 -0800 Subject: [PATCH 1/1] send_request needs to return a negative error value. Signed-off-by: Greg Kroah-Hartman --- bti.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) && -- 2.39.5