commit | d34ad44780b865ebfa41d196c807e5a3b9225cab | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Jun 12 09:22:07 2013 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Jun 12 09:35:43 2013 +0200 |
tree | b04d0e28b3376efdfd4b290d07732270cc63a23f | |
parent | 9200844537466314c892b0f27e96fa47324f643f [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.