From 4b9feee1c2acfa41b02c141b0c87204b1bc70037 Mon Sep 17 00:00:00 2001
From: Mark Grondona <mgrondona@llnl.gov>
Date: Wed, 7 May 2003 00:31:53 +0000
Subject: [PATCH]  o Update to support Munge 0.1  o Temporarily define
 "dprintf" to avoid using glibc's version (which    conflicts with version in
 libmunge) Need to remove this later.

---
 src/plugins/auth/auth_munge.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/auth/auth_munge.c b/src/plugins/auth/auth_munge.c
index e532ee5fb22..c107da9f9e9 100644
--- a/src/plugins/auth/auth_munge.c
+++ b/src/plugins/auth/auth_munge.c
@@ -101,7 +101,7 @@ static int
 _decode_cred(char *m, slurm_auth_credential_t *c)
 {
 	munge_err_t e;
-	munge_ctx_t *ctx = NULL;
+	munge_ctx_t ctx = NULL;
 
 	if ((c == NULL) || (m == NULL)) 
 		return SLURM_ERROR;
@@ -140,7 +140,7 @@ slurm_auth_create( void *argv[] )
 {
 	slurm_auth_credential_t *cred = NULL;
 	munge_err_t e = EMUNGE_SUCCESS;
-	munge_ctx_t *ctx = NULL;
+	munge_ctx_t ctx = NULL;
 
 	cred = xmalloc(sizeof(*cred));
 	cred->verified = false;
-- 
GitLab