mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
remove warning wrt time_t
svn path=/trunk/icecast/; revision=5874
This commit is contained in:
parent
6ba8c0b2cd
commit
c8ecb463f9
@ -190,7 +190,8 @@ xmlDocPtr admin_build_sourcelist(char *current_source)
|
||||
source->fallback_mount:"");
|
||||
snprintf(buf, sizeof(buf), "%ld", source->listeners);
|
||||
xmlNewChild(srcnode, NULL, "listeners", buf);
|
||||
snprintf(buf, sizeof(buf), "%ld", now - source->con->con_time);
|
||||
snprintf(buf, sizeof(buf), "%lu",
|
||||
(unsigned long)(now - source->con->con_time));
|
||||
xmlNewChild(srcnode, NULL, "Connected", buf);
|
||||
xmlNewChild(srcnode, NULL, "Format",
|
||||
source->format->format_description);
|
||||
|
Loading…
x
Reference in New Issue
Block a user