diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2013-09-16 11:20:29 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2014-08-21 15:34:15 +0200 |
commit | e6d56159a6ee76b1bd9fd7ade1f64801818861b3 (patch) | |
tree | f6db9d173b83b8320eaac5019d37d627e8c7739c /debian | |
parent | 6d96dd7477d974b571bd5326b02e1564b0248e44 (diff) |
ctrl: Set a generic reply when it hasn'n been set
When verification failed and the reply string was not updated, the
message "Someone forgot to fill in the reply." was shown instead
of the default "Value failed verification." message.
This patch changes the default reply handling in ctrl_cmd_handle()
by setting the reply to NULL initially and then checking it at the
end. If it hasn't been set, a generic message is assigned and an
error is logged.
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions