From 142e92bb705584ac5de5b7de50899ed3a9b9e467 Mon Sep 17 00:00:00 2001 From: Anantha Kesari H Y Date: Thu, 30 Sep 2004 14:31:30 +0000 Subject: [PATCH] NetWare specific stat structure access incorporated --- ext/session/session.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/session/session.c b/ext/session/session.c index c003409e68e..a6cf1356d2a 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -871,7 +871,11 @@ static void last_modified(TSRMLS_D) #define LAST_MODIFIED "Last-Modified: " memcpy(buf, LAST_MODIFIED, sizeof(LAST_MODIFIED) - 1); +#ifdef NETWARE + strcpy_gmt(buf + sizeof(LAST_MODIFIED) - 1, &(sb.st_mtime.tv_sec)); +#else strcpy_gmt(buf + sizeof(LAST_MODIFIED) - 1, &sb.st_mtime); +#endif ADD_HEADER(buf); } }