From: Adam Dickmeiss Date: Thu, 4 Sep 2003 18:51:49 +0000 (+0000) Subject: Fix return of value X-Git-Tag: YAZ.2.0.4~1 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=4acb9088c874e971fbe37f3d65ea4f47764e6219 Fix return of value --- diff --git a/client/client.c b/client/client.c index c285452..94292d0 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2003, Index Data * See the file LICENSE for details. * - * $Id: client.c,v 1.207 2003-09-02 12:12:12 adam Exp $ + * $Id: client.c,v 1.208 2003-09-04 18:51:49 adam Exp $ */ #include @@ -1853,12 +1853,12 @@ static int cmd_update_common(const char *arg, int version); static int cmd_update(const char *arg) { - cmd_update_common(arg, 1); + return cmd_update_common(arg, 1); } static int cmd_update0(const char *arg) { - cmd_update_common(arg, 0); + return cmd_update_common(arg, 0); } static int cmd_update_common(const char *arg, int version)