diff --git a/yasnd.c b/yasnd.c index 8c968f8..142aa39 100644 --- a/yasnd.c +++ b/yasnd.c @@ -106,7 +106,8 @@ void init() hosts[i].alert_sent=false; } // initialize gammu structures - gammu_init(); + if (sms_send_enable) + gammu_init(); } void check_host(int num,host_decl* host)