git.samba.org
/
obnox
/
wireshark
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
various code cleanup:
[obnox/wireshark/wip.git]
/
epan
/
value_string.c
diff --git
a/epan/value_string.c
b/epan/value_string.c
index d2874379de1fb9f662fd8cc746eb73743a421bc0..45daa541841d5e99aa3018f6d5e12bf3504c1e96 100644
(file)
--- a/
epan/value_string.c
+++ b/
epan/value_string.c
@@
-28,9
+28,6
@@
#include <stdio.h>
-#ifdef NEED_SNPRINTF_H
-# include "snprintf.h"
-#endif
#include "to_str.h"
#include "value_string.h"
@@
-56,7
+53,7
@@
val_to_str(guint32 val, const value_string *vs, const char *fmt) {
} else {
cur = &str[0][0];
}
- snprintf(cur, 64, fmt, val);
+
g_
snprintf(cur, 64, fmt, val);
return cur;
}