X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fnotify_cmd.c;h=89f8b5057518aff940d1f7975862fcc2a3e58477;hb=4270c903e8007017b80c6c817dd41cf699f00df1;hp=dfc1be11285551065a581c632a234d2b9715b1ba;hpb=f50a984666913a2a91b58a45b1a8f222ff776d35;p=psensor.git 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);