Commit 4865fd10 authored by Ed "oddsock" Zaleski's avatar Ed "oddsock" Zaleski
Browse files

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

svn path=/trunk/icecast/; revision=4320
parent 00dd2210
......@@ -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) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment