* modules/access_filter/record.c: compilation fix.
authorGildas Bazin <gbazin@videolan.org>
Thu, 28 Apr 2005 08:18:53 +0000 (08:18 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 28 Apr 2005 08:18:53 +0000 (08:18 +0000)
modules/access_filter/record.c

index 55e18e7..3be88ae 100644 (file)
@@ -326,16 +326,13 @@ static void Dump( access_t *p_access, uint8_t *p_buffer, int i_buffer )
         struct tm l;
 
 #ifdef HAVE_LOCALTIME_R
-        if( !localtime_r( &t, &l ) )
-            memset( &l, 0, sizeof(l) );
+        if( !localtime_r( &t, &l ) ) memset( &l, 0, sizeof(l) );
 #else
         /* Grrr */
         {
             struct tm *p_l = localtime( &t );
-            if( p_l )
-                l = *pÃ_l;
-            else
-                memset( &l, 0, sizeof(l) );
+            if( p_l ) l = *p_l;
+            else memset( &l, 0, sizeof(l) );
         }
 #endif