Mercurial > mplayer.hg
changeset 35229:1d9aaca72672
Check the correct variable for NULL.
author | reimar |
---|---|
date | Thu, 01 Nov 2012 21:31:53 +0000 |
parents | ca073f3f4d4e |
children | 996c2f5657b3 |
files | stream/http.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/http.c Thu Nov 01 21:24:42 2012 +0000 +++ b/stream/http.c Thu Nov 01 21:31:53 2012 +0000 @@ -396,7 +396,7 @@ // 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; }