aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 */