initialize gammu only when enabled in config

This commit is contained in:
Sergey Popov 2011-12-17 19:49:12 +04:00
parent 796be414fc
commit 52b69a0196

View File

@ -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)