despotify_utils: fix indent
This commit is contained in:
parent
ed8562c300
commit
7d21d60dba
@ -118,23 +118,23 @@ struct despotify_session *mpd_despotify_get_session(void)
|
|||||||
g_debug("disabling despotify because account is not configured");
|
g_debug("disabling despotify because account is not configured");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (!despotify_init()) {
|
if (!despotify_init()) {
|
||||||
g_debug("Can't initialize despotify\n");
|
g_debug("Can't initialize despotify\n");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_session = despotify_init_client(callback, NULL,
|
g_session = despotify_init_client(callback, NULL,
|
||||||
high_bitrate, true);
|
high_bitrate, true);
|
||||||
if (!g_session) {
|
if (!g_session) {
|
||||||
g_debug("Can't initialize despotify client\n");
|
g_debug("Can't initialize despotify client\n");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!despotify_authenticate(g_session, user, passwd)) {
|
if (!despotify_authenticate(g_session, user, passwd)) {
|
||||||
g_debug("Can't authenticate despotify session\n");
|
g_debug("Can't authenticate despotify session\n");
|
||||||
despotify_exit(g_session);
|
despotify_exit(g_session);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return g_session;
|
return g_session;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user