[xiph-commits] r9172 - icecast/branches/kh/icecast/src

karl at motherfish-iii.xiph.org karl at motherfish-iii.xiph.org
Sat Apr 23 10:15:59 PDT 2005


Author: karl
Date: 2005-04-23 10:15:56 -0700 (Sat, 23 Apr 2005)
New Revision: 9172

Modified:
   icecast/branches/kh/icecast/src/connection.c
   icecast/branches/kh/icecast/src/logging.c
Log:
build fix, copy+paste error


Modified: icecast/branches/kh/icecast/src/connection.c
===================================================================
--- icecast/branches/kh/icecast/src/connection.c	2005-04-23 16:17:21 UTC (rev 9171)
+++ icecast/branches/kh/icecast/src/connection.c	2005-04-23 17:15:56 UTC (rev 9172)
@@ -498,10 +498,8 @@
                 global_lock();
                 global.sources--;
                 global_unlock();
-                connection_close (source->con);
-                source->con = NULL;
-                httpp_destroy (source->parser);
-                source->parser = NULL;
+                connection_close (con);
+                httpp_destroy (parser);
                 return -1;
             }
         }

Modified: icecast/branches/kh/icecast/src/logging.c
===================================================================
--- icecast/branches/kh/icecast/src/logging.c	2005-04-23 16:17:21 UTC (rev 9171)
+++ icecast/branches/kh/icecast/src/logging.c	2005-04-23 17:15:56 UTC (rev 9172)
@@ -69,10 +69,10 @@
     else {
         tempnum2 = time_days*24;
     }
-    
+
     time_hours = (tempnum2 + t->tm_hour - gmt.tm_hour);
     time_tz = time_hours * 60 + t->tm_min - gmt.tm_min;
-    
+
     if (time_tz < 0) {
         sign = '-';
         time_tz = -time_tz;



More information about the commits mailing list