From 52341e94a86420368b479acd2c760468444fef72 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 9 Oct 2001 19:12:18 +0000 Subject: initial support to error report in smbclient, useful when using smbclient -c in scripts. Thanks to Claudio Cicali aka FleXer for the initial patch (This used to be commit 53b95b3c0fd087b1cade95fd8de849547ac3bfcb) --- source3/lib/readline.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/lib/readline.c') diff --git a/source3/lib/readline.c b/source3/lib/readline.c index f7ef40b001..2475017adf 100644 --- a/source3/lib/readline.c +++ b/source3/lib/readline.c @@ -88,7 +88,7 @@ char *smb_readline(char *prompt, void (*callback)(void), /**************************************************************************** history ****************************************************************************/ -void cmd_history(void) +int cmd_history(void) { #if defined(HAVE_LIBREADLINE) HIST_ENTRY **hlist; @@ -102,4 +102,6 @@ void cmd_history(void) #else DEBUG(0,("no history without readline support\n")); #endif + + return 0; } -- cgit