cosmetic: use OSMO_STRLCPY_ARRAY() instead of osmo_strlcpy()

This saves us the extra sizeof().

Change-Id: If329f122017c0c5b5222e46d55f39731c5bdf662
This commit is contained in:
Harald Welte 2019-02-14 22:52:21 +01:00
parent db2336a9f5
commit e9113f21f6
1 changed files with 1 additions and 1 deletions

View File

@ -790,7 +790,7 @@ int mncc_create_remote_leg(struct mncc_connection *conn, struct call *call)
mncc.fields |= MNCC_F_CALLED;
mncc.called.plan = GSM48_NPI_ISDN_E164;
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);
}
/*