Use bool type instead of int in config field

Change-Id: Ie2624a6a6848c3c88deb39760317860d8074acb9
This commit is contained in:
Pau Espin 2022-09-23 15:40:11 +02:00
parent 928a20b540
commit 87f114a1d0
2 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ struct mgcp_config {
/* The BSC-NAT may ask for enabling osmux on demand. This tells us if
* the osmux socket is already initialized.
*/
int osmux_init;
bool osmux_init;
/* osmux batch factor: from 1 to 4 maximum */
int osmux_batch;
/* osmux batch size (in bytes) */

View File

@ -463,7 +463,7 @@ int osmux_init(int role, struct mgcp_trunk *trunk)
osmo_sock_get_name2(osmux_fd.fd));
return ret;
}
cfg->osmux_init = 1;
cfg->osmux_init = true;
LOGP(DOSMUX, LOGL_INFO, "OSMUX socket listening on %s\n",
osmo_sock_get_name2(osmux_fd.fd));