From e3bea2a7d9a1618d1dd4a574b5f9422f5e778625 Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Wed, 4 Aug 2004 23:51:32 +0000
Subject: [PATCH] Port 0.3.8 bug fixes to 0.4: Don't strip binaries to avoid
 breaking TotalView Fix Munge error retry logic bug

---
 src/plugins/auth/munge/auth_munge.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/auth/munge/auth_munge.c b/src/plugins/auth/munge/auth_munge.c
index 46ac99dc3f6..6866c65ac10 100644
--- a/src/plugins/auth/munge/auth_munge.c
+++ b/src/plugins/auth/munge/auth_munge.c
@@ -452,7 +452,7 @@ _decode_cred(char *m, slurm_auth_credential_t *c)
 		error ("Munge decode failed: %s %s", 
 			munge_ctx_strerror(ctx), retry ? "(retrying ...)": "");
 
-		if ((e = EMUNGE_SOCKET) && retry--)
+		if ((e == EMUNGE_SOCKET) && retry--)
 			goto again;
 
 		/*
-- 
GitLab