aboutsummaryrefslogtreecommitdiffstats
path: root/mpd-currentsong.js
diff options
context:
space:
mode:
Diffstat (limited to 'mpd-currentsong.js')
-rw-r--r--mpd-currentsong.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpd-currentsong.js b/mpd-currentsong.js
index f852b9a..98b6d4a 100644
--- a/mpd-currentsong.js
+++ b/mpd-currentsong.js
@@ -89,7 +89,7 @@ let INFO = xml`
let timeout = true;
let song = {};
- let buf = {};
+ buf = {};
outer: for (let i = 0; i < 100; i++) {
while (cis.readLine(buf) > 0) {
let line = buf.value;