mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
ooh323c: GCC 8.1 warned about output truncated before terminating nul.
ASTERISK-27901 Change-Id: I5a8e894f4924ef52e3094f6870656a559d67f3d7
This commit is contained in:
@@ -812,7 +812,7 @@ void* ooCapabilityCreateDTMFCapability(int cap, int dtmfcodec, OOCTXT *pctxt)
|
||||
memFreePtr(pctxt, pATECap);
|
||||
return NULL;
|
||||
}
|
||||
strncpy(events, "0-16", strlen("0-16"));
|
||||
strcpy(events, "0-16");
|
||||
pATECap->audioTelephoneEvent = events;
|
||||
return pATECap;
|
||||
case OO_CAP_DTMF_CISCO:
|
||||
|
Reference in New Issue
Block a user