aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-15 12:27:29 +0200
committerMax Kellermann <max@duempel.org>2008-09-15 12:27:29 +0200
commit2546fc394347548583c7bdcc15c23c7b17df6ea4 (patch)
tree01f0311a35575b94e6e84bbac51133dd5cc0d6d1 /src
parent76a8fab4adc293982f355609b89dde88d5f355e0 (diff)
downloadmpd-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 '')
-rw-r--r--src/screen_utils.c3
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 */