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

Ed oddsock at xiph.org
Tue Jul 8 07:11:01 PDT 2003



oddsock     03/07/08 10:11:01

  Modified:    src      yp.h yp.c
  Log:
  don't overwrite info in one yp with info from another :)

Revision  Changes    Path
1.8       +0 -3      icecast/src/yp.h

Index: yp.h
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/yp.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- yp.h	26 Jun 2003 13:33:55 -0000	1.7
+++ yp.h	8 Jul 2003 14:11:01 -0000	1.8
@@ -12,9 +12,6 @@
 #define  YP_AUDIO_INFO 6
 #define  YP_SERVER_TYPE 7
 #define  YP_CURRENT_SONG 8
-#define  YP_URL_TIMEOUT 9
-#define  YP_TOUCH_INTERVAL 10
-#define  YP_LAST_TOUCH 11
 
 struct source_tag;
 

<p><p>1.11      +1 -13     icecast/src/yp.c

Index: yp.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/yp.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- yp.c	29 Jun 2003 18:12:09 -0000	1.10
+++ yp.c	8 Jul 2003 14:11:01 -0000	1.11
@@ -239,10 +239,7 @@
                             strftime(tyme, 128, "%Y-%m-%d  %H:%M:%S", 
                                 localtime(&current_time));
                             stats_event(source->mount, "yp_last_touch", tyme);
-                            add_yp_info(source, "last_touch", 
-                                (void *)current_time,
-                                YP_LAST_TOUCH);
-
+                            source->ypdata[i]->yp_last_touch = current_time;
                         }
                     }
                 }
@@ -560,15 +557,6 @@
                         (char *)info);
                     free(escaped);
                 }
-                break;
-        case YP_URL_TIMEOUT:
-                source->ypdata[i]->yp_url_timeout = (int)info;
-                break;
-        case YP_LAST_TOUCH:
-                source->ypdata[i]->yp_last_touch = (int)info;
-                break;
-        case YP_TOUCH_INTERVAL:
-                source->ypdata[i]->yp_touch_interval = (int)info;
                 break;
         }
     }

<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