SMPP: use proper type for boolean variables

Related: OS#5568
Change-Id: I033a2c863213a44f99827ef997f541a7a77f5d8a
This commit is contained in:
Max 2022-12-18 20:33:20 +03:00 committed by laforge
parent 91c9c2f7aa
commit 7d28d23469
1 changed files with 2 additions and 2 deletions

View File

@ -80,8 +80,8 @@ static int smpp_local_tcp(struct vty *vty,
const char *bind_addr, uint16_t port) const char *bind_addr, uint16_t port)
{ {
struct smsc *smsc = smsc_from_vty(vty); struct smsc *smsc = smsc_from_vty(vty);
int is_running = smsc->listen_ofd.fd > 0; bool is_running = smsc->listen_ofd.fd > 0;
int same_bind_addr; bool same_bind_addr;
int rc; int rc;
/* If it is not up yet, don't rebind, just set values. */ /* If it is not up yet, don't rebind, just set values. */