From aeba0c2ad379a8779cd3f97965d10ad2beaf0dae Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 2 Dec 2004 14:04:17 +0000 Subject: [PATCH] Return values in cmd_source_ functions --- client/client.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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; } -- 1.7.10.4