From: Adam Dickmeiss Date: Thu, 2 Dec 2004 14:04:17 +0000 (+0000) Subject: Return values in cmd_source_ functions X-Git-Tag: YAZ.2.0.30~42 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=aeba0c2ad379a8779cd3f97965d10ad2beaf0dae;p=yaz-moved-to-github.git Return values in cmd_source_ functions --- diff --git a/client/client.c b/client/client.c index 9378faf..6b52688 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2004, Index Data * See the file LICENSE for details. * - * $Id: client.c,v 1.257 2004-12-02 13:55:35 ja7 Exp $ + * $Id: client.c,v 1.258 2004-12-02 14:04:17 adam Exp $ */ #include @@ -3096,12 +3096,16 @@ int cmd_source(const char* arg, int echo ) return 1; } -int cmd_source_echo(const char* arg) { - cmd_source( arg, 1); +int cmd_source_echo(const char* arg) +{ + cmd_source(arg, 1); + return 1; } -int cmd_source_noecho(const char* arg) { - cmd_source( arg, 0 ); +int cmd_source_noecho(const char* arg) +{ + cmd_source(arg, 0); + return 1; }