Imported Upstream version 1.2.0
[psensor-pkg-debian.git] / src / notify_cmd.c
index dfc1be1..89f8b50 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (C) 2010-2014 jeanfi@gmail.com
+ * Copyright (C) 2010-2016 jeanfi@gmail.com
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License as
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License as
@@ -17,6 +17,7 @@
  * 02110-1301 USA
  */
 
  * 02110-1301 USA
  */
 
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include <stdlib.h>
 #include <string.h>
 
@@ -38,6 +39,7 @@ void notify_cmd(struct psensor *s)
                             + 1
                             + strlen(s->id)
                             + 1
                             + 1
                             + strlen(s->id)
                             + 1
+                            + 1
                             + strlen(v)
                             + 1);
 
                             + strlen(v)
                             + 1);