X-Git-Url: http://wpitchoune.net/gitweb/?p=psensor-pkg-debian.git;a=blobdiff_plain;f=src%2Fnotify_cmd.c;h=89f8b5057518aff940d1f7975862fcc2a3e58477;hp=dfc1be11285551065a581c632a234d2b9715b1ba;hb=bd7036af56a4b61b2b473dccbeac5e26f78b57da;hpb=e248180cc4ebc258fdd5778a26c08287089165b1 diff --git a/src/notify_cmd.c b/src/notify_cmd.c index dfc1be1..89f8b50 100644 --- a/src/notify_cmd.c +++ b/src/notify_cmd.c @@ -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 @@ -17,6 +17,7 @@ * 02110-1301 USA */ +#include #include #include @@ -38,6 +39,7 @@ void notify_cmd(struct psensor *s) + 1 + strlen(s->id) + 1 + + 1 + strlen(v) + 1);