summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mncc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mncc.c b/src/mncc.c
index 5d220ba..0f003bd 100644
--- a/src/mncc.c
+++ b/src/mncc.c
@@ -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);
}
/*