[MPlayer-cvslog] r35323 - trunk/stream/http.c
reimar
subversion at mplayerhq.hu
Thu Nov 1 22:31:53 CET 2012
Author: reimar
Date: Thu Nov 1 22:31:53 2012
New Revision: 35323
Log:
Check the correct variable for NULL.
Modified:
trunk/stream/http.c
Modified: trunk/stream/http.c
==============================================================================
--- trunk/stream/http.c Thu Nov 1 22:24:42 2012 (r35322)
+++ trunk/stream/http.c Thu Nov 1 22:31:53 2012 (r35323)
@@ -396,7 +396,7 @@ http_response_parse( HTTP_header_t *http
// Get the reason phrase
ptr = strstr( hdr_ptr, "\n" );
- if( hdr_ptr==NULL ) {
+ if( ptr==NULL ) {
mp_msg(MSGT_NETWORK,MSGL_ERR,"Malformed answer. Unable to get the reason phrase.\n");
return -1;
}
More information about the MPlayer-cvslog
mailing list