]> git.sesse.net Git - vlc/commitdiff
adds a linebreak after sending the Basic authentification token. This makes web serve...
authorBenjamin Pracht <bigben@videolan.org>
Mon, 19 Apr 2004 11:50:51 +0000 (11:50 +0000)
committerBenjamin Pracht <bigben@videolan.org>
Mon, 19 Apr 2004 11:50:51 +0000 (11:50 +0000)
modules/access/http.c

index a91a2c55dbd7cda7ac4f840d5a243bd7db23bee8..deca3277a28f1de739aed9828d0880b87e2e9196 100644 (file)
@@ -2,7 +2,7 @@
  * http.c: HTTP input module
  *****************************************************************************
  * Copyright (C) 2001-2004 VideoLAN
- * $Id: http.c,v 1.59 2004/02/24 16:31:46 fenrir Exp $
+ * $Id$
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *          Christophe Massiot <massiot@via.ecp.fr>
@@ -572,7 +572,7 @@ static int Connect( input_thread_t *p_input, vlc_bool_t *pb_seekable,
         b64 = b64_encode( buf );
 
         net_Printf( VLC_OBJECT(p_input), p_sys->fd,
-                    "Authorization: Basic %s", b64 );
+                    "Authorization: Basic %s\r\n", b64 );
         free( b64 );
     }
     net_Printf( VLC_OBJECT(p_input), p_sys->fd, "Connection: Close\r\n" );