[xiph-cvs] cvs commit: icecast/src connection.c

Michael Smith msmith at xiph.org
Thu Mar 6 06:46:33 PST 2003



msmith      03/03/06 09:46:33

  Modified:    src      connection.c
  Log:
  Check admin password against the correct username

Revision  Changes    Path
1.59      +1 -1      icecast/src/connection.c

Index: connection.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/connection.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- connection.c	6 Mar 2003 14:17:33 -0000	1.58
+++ connection.c	6 Mar 2003 14:46:33 -0000	1.59
@@ -459,7 +459,7 @@
     if(!pass || !user)
         return 0;
 
-    return _check_pass_http(parser, "admin", pass);
+    return _check_pass_http(parser, user, pass);
 }
 
 int connection_check_source_pass(http_parser_t *parser, char *mount)

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list