From 070d29eb2825cc31d8f9e3c669b916110af2d676 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Fri, 31 Oct 1997 05:41:21 +0000 Subject: [PATCH] Need to handle more cases when store_client callback returns -1 --- src/client_side.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client_side.cc b/src/client_side.cc index ebefcb099b..5ac6310eac 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.137 1997/10/30 03:31:19 wessels Exp $ + * $Id: client_side.cc,v 1.138 1997/10/30 22:41:21 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -223,7 +223,7 @@ icpHandleIMSReply(void *data, char *buf, ssize_t size) put_free_4k_page(buf); buf = NULL; /* unregister this handler */ - if (entry->store_status == STORE_ABORTED) { + if (size < 0 || entry->store_status == STORE_ABORTED) { debug(33, 3) ("icpHandleIMSReply: ABORTED '%s'\n", entry->url); /* We have an existing entry, but failed to validate it */ /* Its okay to send the old one anyway */ -- 2.47.3