Mercurial > libavformat.hg
comparison http.c @ 6110:d3cfb2687491 libavformat
Reindent
| author | mstorsjo |
|---|---|
| date | Tue, 08 Jun 2010 11:58:22 +0000 |
| parents | 117b1826ce8e |
| children | 4c91cdcb8a52 |
comparison
equal
deleted
inserted
replaced
| 6109:6090375e2696 | 6110:d3cfb2687491 |
|---|---|
| 438 /* silently ignore zero-size data since chunk encoding that would | 438 /* silently ignore zero-size data since chunk encoding that would |
| 439 * signal EOF */ | 439 * signal EOF */ |
| 440 if (size > 0) { | 440 if (size > 0) { |
| 441 /* upload data using chunked encoding */ | 441 /* upload data using chunked encoding */ |
| 442 if(s->is_chunked) { | 442 if(s->is_chunked) { |
| 443 snprintf(temp, sizeof(temp), "%x\r\n", size); | 443 snprintf(temp, sizeof(temp), "%x\r\n", size); |
| 444 if ((ret = url_write(s->hd, temp, strlen(temp))) < 0) | 444 if ((ret = url_write(s->hd, temp, strlen(temp))) < 0) |
| 445 return ret; | 445 return ret; |
| 446 } | 446 } |
| 447 | 447 |
| 448 if ((ret = url_write(s->hd, buf, size)) < 0) | 448 if ((ret = url_write(s->hd, buf, size)) < 0) |
