summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@samba.org>1998-09-27 20:38:06 +0000
committerAlexandre Oliva <oliva@samba.org>1998-09-27 20:38:06 +0000
commitdc21f6c98267afef116a449468129c1d3a8e996b (patch)
treee5aea42b504516f8d9e4501ebb1d7f6c38675f50
parent2456c95c1664a57aa939695c884ec666ec8168ec (diff)
downloadsamba-dc21f6c98267afef116a449468129c1d3a8e996b.tar.gz
samba-dc21f6c98267afef116a449468129c1d3a8e996b.tar.xz
samba-dc21f6c98267afef116a449468129c1d3a8e996b.zip
wait_keyboard must still be defined if readline is not available
-rw-r--r--source/client/client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/client/client.c b/source/client/client.c
index 5d3f497ab1e..25eeccc6452 100644
--- a/source/client/client.c
+++ b/source/client/client.c
@@ -3371,7 +3371,7 @@ static void cmd_help(char *dum_in, char *dum_out)
}
}
-#ifdef 0
+#ifndef HAVE_LIBREADLINE
/****************************************************************************
wait for keyboard activity, swallowing network packets
@@ -3406,8 +3406,8 @@ static void wait_keyboard(char *buffer)
chkpath("\\",False);
}
}
-#endif
-#ifdef HAVE_LIBREADLINE
+
+#else /* if HAVE_LIBREADLINE */
/****************************************************************************
completion routines for GNU Readline