summaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc/osmo_bsc_vty.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-06-12 09:22:07 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-06-12 09:35:43 +0200
commitb0bf1da4c87f1ab3f9367bbeea615dc86d13131c (patch)
treeb04d0e28b3376efdfd4b290d07732270cc63a23f /openbsc/src/osmo-bsc/osmo_bsc_vty.c
parenta1c09a401dd68475aad85dd0be23db703da8abea (diff)
smpp: Only write the systemd-id if it is not empty
system_id is a char array, which makes the NULL check a tautology, so we should check with strlen if the string is empty or not. This is fixing the "write" command of VTY that would otherwise create a config file that can not be parsed.
Diffstat (limited to 'openbsc/src/osmo-bsc/osmo_bsc_vty.c')
0 files changed, 0 insertions, 0 deletions