From: Max Kellermann Date: Mon, 15 Sep 2008 10:27:29 +0000 (+0200) Subject: screen_auth() returns result X-Git-Tag: v0.12_alpha1~318 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2546fc394347548583c7bdcc15c23c7b17df6ea4;p=ncmpc.git screen_auth() returns result screen_auth() returns an int, and its result is actually being used. Only the "return" was missing in its implementation. Return _screen_auth()'s result. --- diff --git a/src/screen_utils.c b/src/screen_utils.c index a1cdedb..80a1b3f 100644 --- a/src/screen_utils.c +++ b/src/screen_utils.c @@ -139,9 +139,10 @@ _screen_auth(mpdclient_t *c, gint recursion) gint screen_auth(mpdclient_t *c) { - _screen_auth(c, 0); + gint ret = _screen_auth(c, 0); mpdclient_update(c); curs_set(0); + return ret; } /* query user for a string and find it in a list window */