comparison src/os/win32/ngx_wsasend_chain.c @ 2614:02fb50962b11

fix ngx_wsasend_chain()
author Igor Sysoev <igor@sysoev.ru>
date Sun, 29 Mar 2009 16:58:23 +0000
parents 4d9ea73a627a
children 88987e52be42
comparison
equal deleted inserted replaced
2613:b863be280d3b 2614:02fb50962b11
116 complete = 1; 116 complete = 1;
117 } 117 }
118 118
119 c->sent += sent; 119 c->sent += sent;
120 120
121 for (cl = in; cl && sent > 0; cl = cl->next) { 121 for (cl = in; cl; cl = cl->next) {
122
122 if (ngx_buf_special(cl->buf)) { 123 if (ngx_buf_special(cl->buf)) {
123 continue; 124 continue;
124 } 125 }
125 126
126 if (sent == 0) { 127 if (sent == 0) {