Mercurial > audlegacy-plugins
changeset 937:c11425915fcb trunk
[svn] - get rid of shadowed variable
author | nenolod |
---|---|
date | Thu, 12 Apr 2007 10:59:34 -0700 |
parents | c9fe8b112bb2 |
children | 31089767a3e3 |
files | ChangeLog src/curl/curl.c |
diffstat | 2 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu Apr 12 10:58:04 2007 -0700 +++ b/ChangeLog Thu Apr 12 10:59:34 2007 -0700 @@ -1,3 +1,12 @@ +2007-04-12 17:58:04 +0000 William Pitcock <nenolod@sacredspiral.co.uk> + revision [2000] + - fix a ton of warnings + + trunk/src/curl/Makefile | 6 ++++++ + trunk/src/curl/curl.c | 23 +++++++++++++++++++++-- + 2 files changed, 27 insertions(+), 2 deletions(-) + + 2007-04-12 17:51:15 +0000 Alexandr Orlov <alxorlov@pochta.ru> revision [1998] Update russian translation.
--- a/src/curl/curl.c Thu Apr 12 10:58:04 2007 -0700 +++ b/src/curl/curl.c Thu Apr 12 10:59:34 2007 -0700 @@ -408,10 +408,10 @@ if (handle->buffer[i] == '\r' && handle->buffer[(i + 1) % handle->buffer_length] == '\n') { - gssize size = (handle->buffer_length + i - + gssize size_ = (handle->buffer_length + i - handle->hdr_index) % handle->buffer_length; handle->buffer[i] = '\0'; - got_header(handle, size); + got_header(handle, size_); if (i == handle->hdr_index) { size_t leftover;