Mercurial > mplayer.hg
comparison TOOLS/netstream.c @ 24595:85f669a84e7a
cosmetics: misc typo fixes
author | diego |
---|---|
date | Tue, 25 Sep 2007 16:34:23 +0000 |
parents | fe3fd951b8cc |
children | e3c5cd98d59a |
comparison
equal
deleted
inserted
replaced
24594:6b9c9c305324 | 24595:85f669a84e7a |
---|---|
118 if(!write_error(cl->fd,"No stream is currently opened\n")) | 118 if(!write_error(cl->fd,"No stream is currently opened\n")) |
119 return 0; | 119 return 0; |
120 return 1; | 120 return 1; |
121 } | 121 } |
122 if(max_len == 0) { | 122 if(max_len == 0) { |
123 if(!write_error(cl->fd,"Fill buffer called with 0 lenght\n")) | 123 if(!write_error(cl->fd,"Fill buffer called with 0 length\n")) |
124 return 0; | 124 return 0; |
125 return 1; | 125 return 1; |
126 } | 126 } |
127 pack = malloc(max_len + sizeof(mp_net_stream_packet_t)); | 127 pack = malloc(max_len + sizeof(mp_net_stream_packet_t)); |
128 pack->cmd = NET_STREAM_OK; | 128 pack->cmd = NET_STREAM_OK; |