aboutsummaryrefslogtreecommitdiffstats
path: root/src/despotify_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/despotify_utils.c')
-rw-r--r--src/despotify_utils.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/despotify_utils.c b/src/despotify_utils.c
index acb32310b..9f23c6336 100644
--- a/src/despotify_utils.c
+++ b/src/despotify_utils.c
@@ -118,23 +118,23 @@ struct despotify_session *mpd_despotify_get_session(void)
g_debug("disabling despotify because account is not configured");
return NULL;
}
- if (!despotify_init()) {
+ if (!despotify_init()) {
g_debug("Can't initialize despotify\n");
return false;
}
g_session = despotify_init_client(callback, NULL,
- high_bitrate, true);
+ high_bitrate, true);
if (!g_session) {
g_debug("Can't initialize despotify client\n");
return false;
}
- if (!despotify_authenticate(g_session, user, passwd)) {
- g_debug("Can't authenticate despotify session\n");
- despotify_exit(g_session);
- return false;
- }
+ if (!despotify_authenticate(g_session, user, passwd)) {
+ g_debug("Can't authenticate despotify session\n");
+ despotify_exit(g_session);
+ return false;
+ }
return g_session;
}