[MPlayer-dev-eng] [PATCH] typo in url.c
Alex Beregszaszi
alex at fsn.hu
Fri Jun 25 16:57:25 CEST 2004
Hi,
> Exploring the code of mplayer, during submitting my previous patch, I
> found a typo-like bug in url.c:
> 80 Curl->protocol = (char*)malloc(pos1+1);
> // THE FOLLOWING LINE SHOULD BE AFTER if STATEMENT
> 81 strncpy(Curl->protocol, escfilename, pos1);
> 82 if( Curl->protocol==NULL ) {
> 83 mp_msg(MSGT_NETWORK,MSGL_FATAL,"Memory allocation failed!\n");
> 84 url_free(Curl);
> 85 return NULL;
> 86 }
>
> So, my little bugfix is attached :)
Applied
> Ilia.
Is that "ilia" or llia?
--
Alex Beregszaszi e-mail: alex at fsn.hu
Free Software Network cell: +36 70 3144424
More information about the MPlayer-dev-eng
mailing list