diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-08-17 22:03:21 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-08-17 22:03:21 +0000 |
commit | 33b08bdd52714486978ba01d8af988ab4d7da732 (patch) | |
tree | a5182e77f986d053803735600fcdca0cc1c28882 | |
parent | 75970c09e2a4056c984896b65c4d75da9072bb81 (diff) |
snprintf -> g_snprintf
svn path=/trunk/; revision=15393
-rw-r--r-- | epan/dissectors/packet-ip.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/epan/dissectors/packet-ip.c b/epan/dissectors/packet-ip.c index 4409a56a72..987ad11b07 100644 --- a/epan/dissectors/packet-ip.c +++ b/epan/dissectors/packet-ip.c @@ -36,10 +36,6 @@ #include <string.h> #include <glib.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/packet.h> #include <epan/addr_resolv.h> #include <epan/ipproto.h> @@ -706,7 +702,7 @@ dissect_ip_tcp_options(tvbuff_t *tvb, int offset, guint length, optp = NULL; /* indicate that we don't know this option */ len_type = VARIABLE_LENGTH; optlen = 2; - snprintf(name_str, sizeof name_str, "Unknown (0x%02x)", opt); + g_snprintf(name_str, sizeof name_str, "Unknown (0x%02x)", opt); name = name_str; dissect = NULL; } else { |