Displaying 1 result from an estimated 1 matches for "correctpass".
Did you mean:
correctness
2004 Aug 06
2
icecast 2 auth problem with (old?) ices, MuSe
...g before feeding it
up to _check_pass_icy(), in any case I did the following dirty/fast patch
which works for me(tm):
- --- connection.c Fri Dec 12 23:18:20 2003
+++ connection.c.mod Mon Jan 12 17:50:12 2004
@@ -530,12 +530,16 @@
static int _check_pass_icy(http_parser_t *parser, char *correctpass)
{
char *password;
+ int tlen;
password = httpp_getvar(parser, HTTPP_VAR_ICYPASSWORD);
if(!password)
return 0;
- - if (strcmp(password, correctpass))
+ if (strstr(password, "SOURCE ") == password) password += 7;
+ if (strstr(password, correctpass)...