diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-04-10 20:59:10 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-04-10 20:59:10 +0000 |
commit | 4fdcc5c18044f7af0e4d892819e202090199bc4b (patch) | |
tree | d13512b25cf373d606ea059eae4f836085f3a99e /epan/dissectors/packet-kerberos.c | |
parent | f2008e4dd388076f50caa024d1900afa2116b7b9 (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.
svn path=/trunk/; revision=36547
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 |