summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 76a8fab)
raw | patch | inline | side by side (parent: 76a8fab)
author | Max Kellermann <max@duempel.org> | |
Mon, 15 Sep 2008 10:27:29 +0000 (12:27 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Mon, 15 Sep 2008 10:27:29 +0000 (12:27 +0200) |
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.
Only the "return" was missing in its implementation. Return
_screen_auth()'s result.
src/screen_utils.c | patch | blob | history |
diff --git a/src/screen_utils.c b/src/screen_utils.c
index a1cdedb2c24d26f854f721d10ac045cce82b5895..80a1b3f004cf4c67294ee9e259560621441118a1 100644 (file)
--- a/src/screen_utils.c
+++ b/src/screen_utils.c
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 */