diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-04-10 20:59:10 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-04-10 20:59:10 +0000 |
commit | c6de809d9c1128996584e433614a85ae42c561b5 (patch) | |
tree | d13512b25cf373d606ea059eae4f836085f3a99e /epan/dissectors/packet-kerberos.c | |
parent | a42af1c46241ddb6ab46702ddea6c2b3d826d6cd (diff) |
Rename ws_stat to ws_stat64, and make it take a pointer to a ws_statb64
as an argument, along the lines of ws_fstat64, and, on Windows, make it
use _wstati64, to handle 64-bit file sizes.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36547 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-kerberos.c')
-rw-r--r-- | epan/dissectors/packet-kerberos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-kerberos.c b/epan/dissectors/packet-kerberos.c index 71ceb4bb3b..8d4c9f3a64 100644 --- a/epan/dissectors/packet-kerberos.c +++ b/epan/dissectors/packet-kerberos.c @@ -799,12 +799,12 @@ static void read_keytab_file(const char *service_key_file) { FILE *skf; - struct stat st; + ws_statb64 st; service_key_t *sk; unsigned char buf[SERVICE_KEY_SIZE]; int newline_skip = 0, count = 0; - if (service_key_file != NULL && ws_stat (service_key_file, &st) == 0) { + if (service_key_file != NULL && ws_stat64 (service_key_file, &st) == 0) { /* The service key file contains raw 192-bit (24 byte) 3DES keys. * There can be zero, one (\n), or two (\r\n) characters between |