diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-01-30 23:08:27 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-01-30 23:08:27 +0000 |
commit | c2136d0735153967740e1f86002fa3b31adb7eff (patch) | |
tree | c84eef703d061c8295f62a8b1aa384dc0e3d4b71 /packet-pcnfsd.c | |
parent | 8dc27bb1844d99ae3033c51f81fa0b277e642a03 (diff) |
Include <string.h> to declare various string functions.
Include "snprintf.h", when needed, to declare "snprintf()" on platforms
that don't have it.
Fix some formats and arguments to various printing routines.
Fix "diameter_time_to_string()" to properly fetch the time value from
the data buffer handed to it.
svn path=/trunk/; revision=4639
Diffstat (limited to 'packet-pcnfsd.c')
-rw-r--r-- | packet-pcnfsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-pcnfsd.c b/packet-pcnfsd.c index 99e5e25f31..baab7495c7 100644 --- a/packet-pcnfsd.c +++ b/packet-pcnfsd.c @@ -1,7 +1,7 @@ /* packet-pcnfsd.c * Routines for PCNFSD dissection * - * $Id: packet-pcnfsd.c,v 1.4 2002/01/20 22:12:27 guy Exp $ + * $Id: packet-pcnfsd.c,v 1.5 2002/01/30 23:08:26 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -35,11 +35,11 @@ Protocol information comes from the book #include "config.h" #endif - #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif +#include <string.h> #include "packet-rpc.h" #include "packet-pcnfsd.h" |