diff options
author | Max Kellermann <max@duempel.org> | 2008-09-15 12:27:29 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-15 12:27:29 +0200 |
commit | 2546fc394347548583c7bdcc15c23c7b17df6ea4 (patch) | |
tree | 01f0311a35575b94e6e84bbac51133dd5cc0d6d1 /src/screen_utils.c | |
parent | 76a8fab4adc293982f355609b89dde88d5f355e0 (diff) | |
download | mpd-2546fc394347548583c7bdcc15c23c7b17df6ea4.tar.gz mpd-2546fc394347548583c7bdcc15c23c7b17df6ea4.tar.xz mpd-2546fc394347548583c7bdcc15c23c7b17df6ea4.zip |
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.
Diffstat (limited to 'src/screen_utils.c')
-rw-r--r-- | src/screen_utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screen_utils.c b/src/screen_utils.c index a1cdedb2c..80a1b3f00 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 */ |