summaryrefslogtreecommitdiffstats
path: root/stream/stream_ftp.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-28 14:28:38 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-28 14:28:38 +0000
commit22fc24fe567029303c32799b5c7590e6dbb75fd8 (patch)
tree6ff62d49b378d63434cc510deb64f1dc078c576e /stream/stream_ftp.c
parentf5a10ea82fc3f4e562fde383dd6b42df14e3d4e8 (diff)
downloadmpv-22fc24fe567029303c32799b5c7590e6dbb75fd8.tar.bz2
mpv-22fc24fe567029303c32799b5c7590e6dbb75fd8.tar.xz
cosmetics: misc typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23893 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_ftp.c')
-rw-r--r--stream/stream_ftp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stream/stream_ftp.c b/stream/stream_ftp.c
index 3f1830ac35..1f5b038c3d 100644
--- a/stream/stream_ftp.c
+++ b/stream/stream_ftp.c
@@ -302,10 +302,10 @@ static int seek(stream_t *s,off_t newpos) {
return 0;
}
- // Check to see if the server doesn't alredy terminated the transfert
+ // Check to see if the server did not already terminate the transfer
if(fd_can_read(p->handle, 0)) {
if(readresp(p,rsp_txt) != 2)
- mp_msg(MSGT_OPEN,MSGL_WARN, "[ftp] Warning the server didn't finished the transfert correctly: %s\n",rsp_txt);
+ mp_msg(MSGT_OPEN,MSGL_WARN, "[ftp] Warning the server didn't finished the transfer correctly: %s\n",rsp_txt);
closesocket(s->fd);
s->fd = -1;
}
@@ -423,7 +423,7 @@ static int open_f(stream_t *stream,int mode, void* opts, int* file_format) {
return STREAM_ERROR;
}
- // Set the transfert type
+ // Set the transfer type
resp = FtpSendCmd("TYPE I",p,rsp_txt);
if(resp != 2) {
mp_msg(MSGT_OPEN,MSGL_WARN, "[ftp] command 'TYPE I' failed: %s\n",rsp_txt);