Changeset fef83e25a847d4a081d736e147912266ecc4bc7f
- Timestamp:
- 04/28/05 10:18:53
(3 years ago)
- Author:
- Gildas Bazin <gbazin@videolan.org>
- git-committer:
- Gildas Bazin <gbazin@videolan.org> 1114676333 +0000
- git-parent:
[acd2a608009e5ba7e58d9787b7b954701c52f1e2]
- git-author:
- Gildas Bazin <gbazin@videolan.org> 1114676333 +0000
- Message:
* modules/access_filter/record.c: compilation fix.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r92ee1ca |
rfef83e2 |
|
| 327 | 327 | |
|---|
| 328 | 328 | #ifdef HAVE_LOCALTIME_R |
|---|
| 329 | | if( !localtime_r( &t, &l ) ) |
|---|
| 330 | | memset( &l, 0, sizeof(l) ); |
|---|
| | 329 | if( !localtime_r( &t, &l ) ) memset( &l, 0, sizeof(l) ); |
|---|
| 331 | 330 | #else |
|---|
| 332 | 331 | /* Grrr */ |
|---|
| 333 | 332 | { |
|---|
| 334 | 333 | struct tm *p_l = localtime( &t ); |
|---|
| 335 | | if( p_l ) |
|---|
| 336 | | l = *p�l; |
|---|
| 337 | | else |
|---|
| 338 | | memset( &l, 0, sizeof(l) ); |
|---|
| | 334 | if( p_l ) l = *p_l; |
|---|
| | 335 | else memset( &l, 0, sizeof(l) ); |
|---|
| 339 | 336 | } |
|---|
| 340 | 337 | #endif |
|---|