diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-01-16 16:06:15 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-01-16 16:06:15 +0000 |
commit | 1c9781b4ec6e907548bf144f04bd2de850c38b76 (patch) | |
tree | d5c476ab5cc45bb308d2bf464913b3d7805504c2 /epan/dissectors/packet-pres.c | |
parent | 491ceb39058e9038aba4f35bae505f1af031a120 (diff) | |
download | wireshark-1c9781b4ec6e907548bf144f04bd2de850c38b76.tar.gz |
throw the new FieldError exception, if a dissector tries to add a field with invalid parameters
add a message parameter to the show_exception function
svn path=/trunk/; revision=13074
Diffstat (limited to 'epan/dissectors/packet-pres.c')
-rw-r--r-- | epan/dissectors/packet-pres.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-pres.c b/epan/dissectors/packet-pres.c index d12218316e..b692101ae7 100644 --- a/epan/dissectors/packet-pres.c +++ b/epan/dissectors/packet-pres.c @@ -242,7 +242,7 @@ call_acse_dissector(tvbuff_t *tvb, gint offset, gint param_len, } CATCH_ALL { - show_exception(tvb, pinfo, tree, EXCEPT_CODE); + show_exception(tvb, pinfo, tree, EXCEPT_CODE, GET_MESSAGE); } ENDTRY; } |