diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-12-16 01:12:35 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-12-18 23:05:50 +0000 |
commit | c0b0b623053f16790d7d675812befe382ebdfd6e (patch) | |
tree | c53db24db8dd13b122cf033050fecf86acef25fd /include/osmocom/core/talloc.h | |
parent | f2e83ad40d231e87e2604ec4c97c810a8182e145 (diff) |
ctrl: on parse errors, return a detailed message to sender
The recently added ctrl_cmd_parse2() returns non-NULL cmd with error messages
upon parsing errors. In handle_control_read(), use ctrl_cmd_parse2() and send
those back to the CTRL command sender as reply.
Retain the previous "Command parser error" reply only in case ctrl_cmd_parse2()
should return NULL, which shouldn't actually happen at all.
Change-Id: Ie35a02555b76913bb12734a76fc40fde7ffb244d
Diffstat (limited to 'include/osmocom/core/talloc.h')
0 files changed, 0 insertions, 0 deletions