mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
type warning cleanup
svn path=/trunk/icecast/; revision=5586
This commit is contained in:
parent
42e28b204a
commit
a093271f95
6
src/yp.c
6
src/yp.c
@ -86,9 +86,9 @@ int yp_remove(source_t *source)
|
|||||||
int curl_con = 0;
|
int curl_con = 0;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
long current_time = 0;
|
time_t current_time = 0;
|
||||||
|
|
||||||
current_time = time(¤t_time);
|
current_time = time(NULL);
|
||||||
|
|
||||||
for (i=0; i<source->num_yp_directories; i++) {
|
for (i=0; i<source->num_yp_directories; i++) {
|
||||||
source->ypdata[i]->yp_last_touch = current_time;
|
source->ypdata[i]->yp_last_touch = current_time;
|
||||||
@ -132,7 +132,7 @@ int yp_touch()
|
|||||||
int curl_con = 0;
|
int curl_con = 0;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
int regen_sid = 0;
|
int regen_sid = 0;
|
||||||
long current_time = 0;
|
time_t current_time = 0;
|
||||||
avl_node *node;
|
avl_node *node;
|
||||||
source_t *source;
|
source_t *source;
|
||||||
char current_song[256];
|
char current_song[256];
|
||||||
|
Loading…
Reference in New Issue
Block a user