libosmocore/openbsc
Jacob Erlbeck e6d56159a6 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.
2014-08-21 15:34:15 +02:00
..
include/openbsc ctrl: Provide a reply in case the range check failed 2014-08-21 15:34:15 +02:00
src/libctrl ctrl: Set a generic reply when it hasn'n been set 2014-08-21 15:34:15 +02:00