summaryrefslogtreecommitdiff
path: root/plugins/hddtemp/hddtemp-plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/hddtemp/hddtemp-plugin.c')
-rw-r--r--plugins/hddtemp/hddtemp-plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/hddtemp/hddtemp-plugin.c b/plugins/hddtemp/hddtemp-plugin.c
index 2adf692..6822338 100644
--- a/plugins/hddtemp/hddtemp-plugin.c
+++ b/plugins/hddtemp/hddtemp-plugin.c
@@ -62,6 +62,7 @@ static const gchar *hddtemp_plugin_query_hddtemp_daemon(GError **error) {
gchar *pc;
struct sockaddr_in address;
+ static char* buffer = NULL;
static GTimeVal previous_query_time;
GTimeVal current_query_time;