Fixed notification script call (wrong allocation of command string).
authorJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 4 Aug 2014 21:18:59 +0000 (23:18 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 4 Aug 2014 21:18:59 +0000 (23:18 +0200)
NEWS
NEWS.html
src/notify_cmd.c

diff --git a/NEWS b/NEWS
index a92d0d4..d34db28 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,7 @@ v1.1.1
 * Added menu separator for the application indicator menu between
   sensor items and preferences.
 * Fixed check of sensors/error.h.
+* Fixed notification script call (wrong allocation of command string).
 
 v1.0.3
 ------
index 6f5744c..15fc541 100644 (file)
--- a/NEWS.html
+++ b/NEWS.html
@@ -412,6 +412,11 @@ Added menu separator for the application indicator menu between
 Fixed check of sensors/error.h.\r
 </p>\r
 </li>\r
+<li>\r
+<p>\r
+Fixed notification script call (wrong allocation of command string).\r
+</p>\r
+</li>\r
 </ul></div>\r
 </div>\r
 </div>\r
@@ -2684,7 +2689,7 @@ Fixed BR1: crash when no temperature sensor is available
 <div id="footnotes"><hr /></div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 2014-08-04 09:50:11 CEST\r
+Last updated 2014-08-04 23:18:31 CEST\r
 </div>\r
 </div>\r
 </body>\r
index dfc1be1..793903a 100644 (file)
@@ -38,6 +38,7 @@ void notify_cmd(struct psensor *s)
                             + 1
                             + strlen(s->id)
                             + 1
+                            + 1
                             + strlen(v)
                             + 1);