]> git.sesse.net Git - vlc/commitdiff
Fix indentation.
authorPavlov Konstantin <thresh@videolan.org>
Tue, 6 Feb 2007 15:26:28 +0000 (15:26 +0000)
committerPavlov Konstantin <thresh@videolan.org>
Tue, 6 Feb 2007 15:26:28 +0000 (15:26 +0000)
src/libvlc-common.c

index 855045bdca4911e82599aa84c891b5779128a56e..f21bf9f92ab8e581a33a9694697cd323eb60d198 100644 (file)
@@ -1009,17 +1009,17 @@ int libvlc_InternalDestroy( libvlc_int_t *p_libvlc, vlc_bool_t b_release )
 
     if( config_GetInt( p_libvlc, "daemon" ) )
     {
-      psz_pidfile = config_GetPsz( p_libvlc, "pidfile" );
-      if( psz_pidfile != NULL )
-      {
-        msg_Dbg( p_libvlc, "removing pid file %s", psz_pidfile );
-        if( unlink( psz_pidfile ) == -1 )
+        psz_pidfile = config_GetPsz( p_libvlc, "pidfile" );
+        if( psz_pidfile != NULL )
         {
-          msg_Dbg( p_libvlc, "removing pid file %s: failed: %s",
-              psz_pidfile, strerror(errno) );
+            msg_Dbg( p_libvlc, "removing pid file %s", psz_pidfile );
+            if( unlink( psz_pidfile ) == -1 )
+            {
+                msg_Dbg( p_libvlc, "removing pid file %s: failed: %s",
+                        psz_pidfile, strerror(errno) );
+            }
         }
-      }
-      free ( psz_pidfile );
+        free ( psz_pidfile );
     }
 #endif