Mercurial > pidgin
comparison src/html.c @ 4335:60b9f8fccce8
[gaim-migrate @ 4599]
Warning cleanup.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 18 Jan 2003 02:02:54 +0000 |
parents | bbd7b12986a8 |
children | 5fb47ec9bfe4 |
comparison
equal
deleted
inserted
replaced
4334:fb911dfb76f4 | 4335:60b9f8fccce8 |
---|---|
176 } | 176 } |
177 | 177 |
178 static size_t | 178 static size_t |
179 parse_content_len(const char *data, size_t data_len) | 179 parse_content_len(const char *data, size_t data_len) |
180 { | 180 { |
181 gchar *s; | |
182 size_t content_len = 0; | 181 size_t content_len = 0; |
183 | 182 |
184 sscanf(data, "Content-Length: %d", &content_len); | 183 sscanf(data, "Content-Length: %d", &content_len); |
185 | 184 |
186 return content_len; | 185 return content_len; |