Mercurial > mplayer.hg
comparison libmpdemux/stream_netstream.c @ 10625:620cc649f519
ftp support. The change on connect2Server is needed bcs we need 2
different level of verbosity for control and data connections.
author | albeu |
---|---|
date | Fri, 15 Aug 2003 19:13:23 +0000 |
parents | 2cae82f2ab02 |
children | 8a10d5d0ce86 |
comparison
equal
deleted
inserted
replaced
10624:cdfd4a43c406 | 10625:620cc649f519 |
---|---|
250 mp_msg(MSGT_OPEN,MSGL_ERR, "We need a remote url (ex: mpst://server.net/cdda://5)\n"); | 250 mp_msg(MSGT_OPEN,MSGL_ERR, "We need a remote url (ex: mpst://server.net/cdda://5)\n"); |
251 m_struct_free(&stream_opts,opts); | 251 m_struct_free(&stream_opts,opts); |
252 return STREAM_ERROR; | 252 return STREAM_ERROR; |
253 } | 253 } |
254 | 254 |
255 f = connect2Server(p->host,p->port); | 255 f = connect2Server(p->host,p->port,1); |
256 if(f < 0) { | 256 if(f < 0) { |
257 mp_msg(MSGT_OPEN,MSGL_ERR, "Connection to %s:%d failed\n",p->host,p->port); | 257 mp_msg(MSGT_OPEN,MSGL_ERR, "Connection to %s:%d failed\n",p->host,p->port); |
258 m_struct_free(&stream_opts,opts); | 258 m_struct_free(&stream_opts,opts); |
259 return STREAM_ERROR; | 259 return STREAM_ERROR; |
260 } | 260 } |