Commit f11c730d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

audioscrobbler: fix error code

Empty string is invalid value, not missing object variable...
parent b4d2a2dd
......@@ -494,7 +494,7 @@ static int Handshake(intf_thread_t *p_this)
{
free(psz_username);
free(psz_password);
return VLC_ENOVAR;
return VLC_EBADVAR;
}
time(&timestamp);
......@@ -725,7 +725,7 @@ static void *Run(void *data)
case VLC_ENOMEM:
goto out;
case VLC_ENOVAR:
case VLC_EBADVAR:
/* username not set */
vlc_dialog_display_error(p_intf,
_("Last.fm username not set"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment