summaryrefslogtreecommitdiff
path: root/plugins/Watrack_MPD
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack_MPD')
-rwxr-xr-xplugins/Watrack_MPD/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Watrack_MPD/src/main.cpp b/plugins/Watrack_MPD/src/main.cpp
index 9fc1ca9c50..7fac682f62 100755
--- a/plugins/Watrack_MPD/src/main.cpp
+++ b/plugins/Watrack_MPD/src/main.cpp
@@ -50,7 +50,6 @@ int Parser()
{
static NETLIBPACKETRECVER nlpr = {0};
char *ptr;
- char tmp[256];
int i;
char *buf;
static char ver[16];
@@ -115,6 +114,7 @@ int Parser()
}
nlpr.bytesUsed = nlpr.bytesAvailable;
}
+ char tmp[256];
buf = (char*)nlpr.buffer;
if(ptr = strstr(buf, "MPD"))
{