replaced by
x = strdup(s)
Note: sometimes c was 0 and that was a bug
Note2: code still has to be added to check the returned value of these funcs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3613 b3059339-0415-0410-9bf9-f77b7e298cf2
He added some errors checking on network code.
Added a check on the port number parsing in the url.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3495 b3059339-0415-0410-9bf9-f77b7e298cf2