commit | 21387795594f5a7337bd6a34b8c2270088b0f7e6 | [log] [tgz] |
---|---|---|
author | Philipp Maier <pmaier@sysmocom.de> | Fri Jan 19 10:16:54 2018 +0100 |
committer | Philipp Maier <pmaier@sysmocom.de> | Fri Jan 19 10:35:12 2018 +0100 |
tree | d0363f3656e38eb9c8149e45c289b5ed87f64ed5 | |
parent | 12943ea0c1adc48969d0c3bd28a0739ccb3537a2 [diff] |
cosmetic: protocol: remove unnecessary nul termination Adding a NUL manually is a common idiom after calling strncpy() because strncpy() does not always NUL-terminate the string. But snprintf() is fine. - remove NUL termination after snprintf in mgcp_send_reset_ep() Change-Id: I5a1187b13b21b11674f13d3449c730616b0a4ddf