From 7d7cd0e5f46cdefb3379ec5298f4f2a0ad35cb08 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sun, 6 Jul 2003 20:55:41 +0000 Subject: [PATCH] Small fix for gcc 2.xx compiler --- mbcico/binkp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mbcico/binkp.c b/mbcico/binkp.c index 8c994c11..7a49d5c8 100644 --- a/mbcico/binkp.c +++ b/mbcico/binkp.c @@ -615,9 +615,10 @@ SM_STATE(waitaddr) SM_STATE(sendpass) if (MD_challenge && strlen(nodes.Spasswd) && CRAMflag) { + char *pw = NULL, *tp = NULL; Syslog('b', "MD_challenge is set, building digest"); - char *pw = xstrcpy(nodes.Spasswd); - char *tp = MD_buildDigest(pw, MD_challenge); + pw = xstrcpy(nodes.Spasswd); + tp = MD_buildDigest(pw, MD_challenge); if (!tp) { Syslog('!', "Unable to build MD5 digest"); SM_ERROR;