summaryrefslogtreecommitdiff
path: root/source3/client
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
commit464f71f414a09727250e5c918405fbbc601b7c32 (patch)
treeada461111ae8fb26c31173d8a9f539e5c43096c7 /source3/client
parentecd8ca2431ef949a66433b3a72217dd485b1b300 (diff)
downloadsamba-464f71f414a09727250e5c918405fbbc601b7c32.tar.gz
samba-464f71f414a09727250e5c918405fbbc601b7c32.tar.bz2
samba-464f71f414a09727250e5c918405fbbc601b7c32.zip
wait_keyboard must still be defined if readline is not available
(This used to be commit dc21f6c98267afef116a449468129c1d3a8e996b)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 5d3f497ab1..25eeccc645 100644
--- a/source3/client/client.c
+++ b/source3/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