[xiph-cvs] cvs commit: icecast/src yp.c

Karl Heyes karl at xiph.org
Mon Nov 17 13:36:04 PST 2003



karl        03/11/17 16:36:04

  Modified:    src      yp.c
  Log:
  type warning cleanup

Revision  Changes    Path
1.14      +3 -3      icecast/src/yp.c

Index: yp.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/yp.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- yp.c	24 Jul 2003 16:21:22 -0000	1.13
+++ yp.c	17 Nov 2003 21:36:03 -0000	1.14
@@ -86,9 +86,9 @@
     int curl_con = 0;
     int i = 0;
 
-    long current_time = 0;
+    time_t current_time = 0;
 
-    current_time = time(&current_time);
+    current_time = time(NULL);
 
     for (i=0; i<source->num_yp_directories; i++) {
         source->ypdata[i]->yp_last_touch = current_time;
@@ -132,7 +132,7 @@
     int curl_con = 0;
     int i = 0;
     int regen_sid = 0;
-    long current_time = 0;
+    time_t  current_time = 0;
     avl_node *node;
     source_t *source;
     char current_song[256];

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list