summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-19 12:54:10 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-19 12:54:10 +0000
commit79918649e264bbc42d61bfd1b1de35d5570cb99d (patch)
tree55802ffc4fefccd0ab2ac34a1b8a1400554aa7b4 /stream
parent666a245ff9c0755fd4c435f491764429b3ba01ed (diff)
downloadmpv-79918649e264bbc42d61bfd1b1de35d5570cb99d.tar.bz2
mpv-79918649e264bbc42d61bfd1b1de35d5570cb99d.tar.xz
Fix a few typos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24578 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/tcp.c6
-rw-r--r--stream/udp.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/stream/tcp.c b/stream/tcp.c
index 297f6901fe..bf5f06c820 100644
--- a/stream/tcp.c
+++ b/stream/tcp.c
@@ -193,7 +193,7 @@ connect2Server_with_af(char *host, int port, int af,int verb) {
tv.tv_usec = 500000;
FD_ZERO( &set );
FD_SET( socket_server_fd, &set );
- // When the connection will be made, we will have a writable fd
+ // When the connection will be made, we will have a writeable fd
while((ret = select(socket_server_fd+1, NULL, &set, NULL, &tv)) == 0) {
if( ret<0 ) mp_msg(MSGT_NETWORK,MSGL_ERR,MSGTR_MPDEMUX_NW_SelectFailed);
else if(ret > 0) break;
@@ -201,7 +201,7 @@ connect2Server_with_af(char *host, int port, int af,int verb) {
if(count > 30)
mp_msg(MSGT_NETWORK,MSGL_ERR,MSGTR_MPDEMUX_NW_ConnTimeout);
else
- mp_msg(MSGT_NETWORK,MSGL_V,"Connection interuppted by user\n");
+ mp_msg(MSGT_NETWORK,MSGL_V,"Connection interrupted by user\n");
return TCP_ERROR_TIMEOUT;
}
count++;
@@ -218,7 +218,7 @@ connect2Server_with_af(char *host, int port, int af,int verb) {
val = 0;
ioctlsocket( socket_server_fd, FIONBIO, &val );
#endif
- // Check if there were any error
+ // Check if there were any errors
err_len = sizeof(int);
ret = getsockopt(socket_server_fd,SOL_SOCKET,SO_ERROR,&err,&err_len);
if(ret < 0) {
diff --git a/stream/udp.c b/stream/udp.c
index 4158eb473c..20ccb656cc 100644
--- a/stream/udp.c
+++ b/stream/udp.c
@@ -126,7 +126,7 @@ udp_open_socket (URL_t *url)
if (!hp)
{
mp_msg (MSGT_NETWORK, MSGL_ERR,
- "Counldn't resolve name: %s\n", url->hostname);
+ "Could not resolve name: %s\n", url->hostname);
closesocket (socket_server_fd);
return -1;
}