summaryrefslogtreecommitdiff
path: root/plugins/lastfm
diff options
context:
space:
mode:
authorGravatar Viktor Semykin <thesame.ml@gmail.com>2010-07-04 15:36:26 +0300
committerGravatar Viktor Semykin <thesame.ml@gmail.com>2010-07-04 15:36:26 +0300
commit927e297e50d9820ccea7a3356e3d294a0514eb5a (patch)
tree328fbd899d1f7e6767fc1c9081097c1a18f0c0f6 /plugins/lastfm
parentdbca894cb0a4872481e0026b81d2b3ae083d1485 (diff)
fixed refleak; minor fixups
Diffstat (limited to 'plugins/lastfm')
-rw-r--r--plugins/lastfm/lastfm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/lastfm/lastfm.c b/plugins/lastfm/lastfm.c
index 1773abd6..82b2db91 100644
--- a/plugins/lastfm/lastfm.c
+++ b/plugins/lastfm/lastfm.c
@@ -843,7 +843,7 @@ lfm_action_lookup (DB_playItem_t *it, void *data)
return 0;
char *command = NULL;
- if (-1 == asprintf (&command, "xdg-open http://www.last.fm/music/%s/_/%s", eartist, etitle))
+ if (-1 == asprintf (&command, "xdg-open 'http://www.last.fm/music/%s/_/%s'", eartist, etitle))
return 0;
system (command);
free (command);