1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

if there is an error on touching, then reset the sid which will force another add

svn path=/trunk/icecast/; revision=4320
This commit is contained in:
oddsock 2003-02-05 02:04:54 +00:00
parent 00dd22107a
commit 4865fd10d0

View File

@ -160,6 +160,9 @@ int yp_touch(void *psource)
else {
/* specify URL to get */
ret = yp_submit_url(curl_con, source->ypdata[i]->yp_url, url, "yp_touch");
if (!ret) {
source->ypdata[i]->sid[0] = '\000';
}
}
if (url) {
free(url);