cosmetic: use OSMO_STRLCPY_ARRAY() instead of osmo_strlcpy()
This saves us the extra sizeof(). Change-Id: If329f122017c0c5b5222e46d55f39731c5bdf662
This commit is contained in:
parent
db2336a9f5
commit
e9113f21f6
|
@ -790,7 +790,7 @@ int mncc_create_remote_leg(struct mncc_connection *conn, struct call *call)
|
||||||
mncc.fields |= MNCC_F_CALLED;
|
mncc.fields |= MNCC_F_CALLED;
|
||||||
mncc.called.plan = GSM48_NPI_ISDN_E164;
|
mncc.called.plan = GSM48_NPI_ISDN_E164;
|
||||||
mncc.called.type = GSM48_TON_UNKNOWN;
|
mncc.called.type = GSM48_TON_UNKNOWN;
|
||||||
osmo_strlcpy(mncc.called.number, call->dest, sizeof(mncc.called.number));
|
OSMO_STRLCPY_ARRAY(mncc.called.number, call->dest);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue