wait_keyboard must still be defined if readline is not available
authorAlexandre Oliva <oliva@samba.org>
Sun, 27 Sep 1998 20:38:06 +0000 (20:38 +0000)
committerAlexandre Oliva <oliva@samba.org>
Sun, 27 Sep 1998 20:38:06 +0000 (20:38 +0000)
(This used to be commit dc21f6c98267afef116a449468129c1d3a8e996b)

source3/client/client.c

index 5d3f497ab1e6cdd90a5b80076be02b73147018ea..25eeccc64526cd81ba7d4d43cd27b01b50fd245e 100644 (file)
@@ -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