diff -ruN bnbt80-src/util.cpp bnbt80-src-nemith/util.cpp --- bnbt80-src/util.cpp Mon Jan 31 06:46:36 2005 +++ bnbt80-src-nemith/util.cpp Sun Feb 6 23:43:56 2005 @@ -105,7 +105,7 @@ char pTime[256]; memset( pTime, 0, sizeof( char ) * 256 ); strftime( pTime, sizeof( char ) * 256, "%a, %d %b %Y %H:%M:%S", localtime( &tNow ) ); - #if defined( __APPLE__ ) || defined( FreeBSD ) + #if defined( __APPLE__ ) || defined( __FREEBSD__ ) long timezone = -( localtime( &tNow )->tm_gmtoff ); #endif @@ -138,8 +138,9 @@ char pTime[256]; memset( pTime, 0, sizeof( char ) * 256 ); strftime( pTime, sizeof( char ) * 256, "%a, %d %b %Y %H:%M:%S", tDate ); - #if defined( __APPLE__ ) || defined( FreeBSD ) - long timezone = -( localtime( &tNow )->tm_gmtoff ); + #if defined( __APPLE__ ) || defined( __FREEBSD__ ) + long timezone = -( localtime( &rawtime )->tm_gmtoff ); + #endif // timezone has the wrong sign, change it