initialize gammu only when enabled in config
This commit is contained in:
parent
796be414fc
commit
52b69a0196
3
yasnd.c
3
yasnd.c
@ -106,7 +106,8 @@ void init()
|
|||||||
hosts[i].alert_sent=false;
|
hosts[i].alert_sent=false;
|
||||||
}
|
}
|
||||||
// initialize gammu structures
|
// initialize gammu structures
|
||||||
gammu_init();
|
if (sms_send_enable)
|
||||||
|
gammu_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
void check_host(int num,host_decl* host)
|
void check_host(int num,host_decl* host)
|
||||||
|
Loading…
Reference in New Issue
Block a user