diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-15 09:12:01 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-15 09:12:01 +0000 |
commit | 07c29e74e9ca2ef0003069b212b3c1ac382abf5a (patch) | |
tree | 2a97b9386cf4ebaf03438290b8bdd392e717d6de /epan/dissectors/packet-fclctl.c | |
parent | eda53fd1b729d42dc26d05e7636299b65936e140 (diff) | |
download | wireshark-07c29e74e9ca2ef0003069b212b3c1ac382abf5a.tar.gz |
Convert a few more dissectors to wmem API
svn path=/trunk/; revision=52052
Diffstat (limited to 'epan/dissectors/packet-fclctl.c')
-rw-r--r-- | epan/dissectors/packet-fclctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-fclctl.c b/epan/dissectors/packet-fclctl.c index 7507b499f8..a163404cb1 100644 --- a/epan/dissectors/packet-fclctl.c +++ b/epan/dissectors/packet-fclctl.c @@ -28,7 +28,7 @@ #include <glib.h> #include <epan/packet.h> -#include <epan/emem.h> +#include <epan/wmem/wmem.h> #include <epan/etypes.h> #include <epan/conversation.h> #include "packet-scsi.h" @@ -129,13 +129,13 @@ const gchar * fclctl_get_paramstr (guint32 linkctl_type, guint32 param) { if (linkctl_type == FC_LCTL_PBSY) { - return ep_strdup_printf("%s, %s", + return wmem_strdup_printf(wmem_packet_scope(), "%s, %s", val_to_str (((param & 0xFF000000) >> 24), fc_lctl_pbsy_acode_val, "0x%x"), val_to_str (((param & 0x00FF0000) >> 16), fc_lctl_pbsy_rjt_val, "0x%x")); } if ((linkctl_type == FC_LCTL_FRJT) || (linkctl_type == FC_LCTL_PRJT)) { - return ep_strdup_printf("%s, %s", + return wmem_strdup_printf(wmem_packet_scope(), "%s, %s", val_to_str (((param & 0xFF000000) >> 24), fc_lctl_rjt_acode_val, "0x%x"), val_to_str (((param & 0x00FF0000) >> 16), fc_lctl_rjt_val, "%x")); } |