summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/monitor.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2002-03-21 18:38:34 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2002-03-21 18:38:34 +0000
commit8071b8b6c4d0af18af125cd5952a519dab084980 (patch)
treee5dcac8cf4f50451e92ca4cffb9cb37288f71363 /usr.bin/ssh/monitor.c
parent1e60cb4c9855dffd48ec913afe51b726ae9f91bd (diff)
fix NULL %s on debug3(); ok markus@
Diffstat (limited to 'usr.bin/ssh/monitor.c')
-rw-r--r--usr.bin/ssh/monitor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/monitor.c b/usr.bin/ssh/monitor.c
index 16f1912e666..921ad985a7b 100644
--- a/usr.bin/ssh/monitor.c
+++ b/usr.bin/ssh/monitor.c
@@ -25,7 +25,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: monitor.c,v 1.5 2002/03/19 21:12:48 markus Exp $");
+RCSID("$OpenBSD: monitor.c,v 1.6 2002/03/21 18:38:33 stevesk Exp $");
#include <openssl/dh.h>
@@ -520,14 +520,14 @@ mm_answer_authserv(int socket, Buffer *m)
authctxt->service = buffer_get_string(m, NULL);
authctxt->style = buffer_get_string(m, NULL);
+ debug3("%s: service=%s, style=%s",
+ __FUNCTION__, authctxt->service, authctxt->style);
+
if (strlen(authctxt->style) == 0) {
xfree(authctxt->style);
authctxt->style = NULL;
}
- debug3("%s: service=%s, style=%s",
- __FUNCTION__, authctxt->service, authctxt->style);
-
return (0);
}