[icecast-dev] [PATCH] Use time_t. It's timeless.

Dale Ghent daleg at elemental.org
Sun Mar 7 00:49:37 PST 2004


Variable current_time in source.c is using type long for storing what
time() returns, not time_t as it probably should be.

/dale
-------------- next part --------------
Index: source.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/source.c,v
retrieving revision 1.79
diff -u -r1.79 source.c
--- source.c	27 Feb 2004 15:15:40 -0000	1.79
+++ source.c	7 Mar 2004 08:47:05 -0000
@@ -376,7 +376,7 @@
     int listen_url_size;
 #ifdef USE_YP
     char *s;
-    long current_time;
+    time_t current_time;
     int    i;
     char *ai;
 


More information about the Icecast-dev mailing list