diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-09-21 20:05:13 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-09-21 20:05:13 +0000 |
commit | 8b32f13476745bc1af7c502d1fb4fcc6b2f576ea (patch) | |
tree | a783dc714a4fd4a95910eeb9c3dbe924a1723c14 /epan/dissectors/packet-ntp.h | |
parent | 4e09b5e0b3672e6893d6d90e833cb9e05436faf9 (diff) |
get rid of strcpy in packet-ntp.c
at the same time change ntp_fmt_ts to return a pointer to ian ep-allocated buffer.
remove the redundant buffer parameter in the signature and change all callers.
svn path=/trunk/; revision=15939
Diffstat (limited to 'epan/dissectors/packet-ntp.h')
-rw-r--r-- | epan/dissectors/packet-ntp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ntp.h b/epan/dissectors/packet-ntp.h index 889231aa21..21c3730bbb 100644 --- a/epan/dissectors/packet-ntp.h +++ b/epan/dissectors/packet-ntp.h @@ -33,6 +33,6 @@ #define NTP_BASETIME 2208988800ul #define NTP_TS_SIZE 100 -extern char * ntp_fmt_ts(const guint8 *reftime, char* buff); +extern char * ntp_fmt_ts(const guint8 *reftime); #endif |