diff options
author | Markus Armbruster <armbru@redhat.com> | 2014-04-24 15:44:18 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-04-25 15:58:07 +0200 |
commit | 9083da1d4c9dfff30d411f8c73ea494e9d78de1b (patch) | |
tree | bd1697a4dc3146b5dfe3f4767d9ec0430dfc75d3 /target-sparc | |
parent | 638fb14169ad96cf9bc0dd5f61460daaecee5bb1 (diff) |
net: Don't use error_is_set() to suppress additional errors
Using error_is_set(errp) that way can sweep programming errors under
the carpet when we get called incorrectly with an error set.
qmp_query_rx_filter() breaks its loop when it detects an error. It
needs to set another error when the loop completes normally.
Return right away instead of merely breaking the loop.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'target-sparc')
0 files changed, 0 insertions, 0 deletions