karlheyes / icecast-kh

KH branch of icecast
GNU General Public License v2.0
297 stars 105 forks source link

Bug in url_stream_auth function #422

Closed radioboss closed 1 year ago

radioboss commented 1 year ago

auth_url.c, on line 766: curl_easy_setopt (atd->curl, CURLOPT_URL, url->stream_auth);

I guess it should be "url" field, not the struct itself: curl_easy_setopt (atd->curl, CURLOPT_URL, url->stream_auth.url);

karlheyes commented 1 year ago

indeed, nice one spotted. It's not heavily used and seems to of been broken since about 21.2 but obviously good.

Will commit shortly

karl

karlheyes commented 1 year ago

in the latest pre-release now

karl