commit | dcf2868e62f2ca5e8c81fdb20bbc4c5c5be94392 | [log] [tgz] |
---|---|---|
author | Vadim Yanitskiy <axilirator@gmail.com> | Wed May 29 22:34:13 2019 +0700 |
committer | Harald Welte <laforge@gnumonks.org> | Mon Jun 03 07:18:41 2019 +0000 |
tree | 8763f37815234d8cbd4a719a5a0141629fe85767 | |
parent | 8014917f0a803d0f5be97bc77d3dc1dcd03e176b [diff] |
libmsc/msc_vty.c: do not abuse strlen() to check char buffers In the most cases we need to check whether particular char buffer is empty or not. Using strlen() for that involves more CPU power, so let's just check the first character against '\0'. Change-Id: I8728876b80c870e82247e6e56f719e10ed322a95