From c5dd7c23b7f1ecd02a3f8ed255f31413b4d659a0 Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Sun, 31 Mar 2013 19:26:28 -0400 Subject: [PATCH] Fix potention false return value from SAVE. Introduced in commit c13af45. --- src/commands.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/commands.c b/src/commands.c index f00ebffa..d5a3c224 100644 --- a/src/commands.c +++ b/src/commands.c @@ -896,11 +896,9 @@ save_finalize (assuan_context_t ctx) if (!rc) { - update_checksum (client); + rc = update_checksum (client); client->flags &= ~(FLAG_NEW); } - else - rc = GPG_ERR_ENOMEM; } pthread_cleanup_pop (1); // xmlFree -- 2.11.4.GIT