diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-07-18 14:41:35 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-07-18 14:41:35 +0000 |
commit | baa6b09ada98727af4daff9ed45a027d3004b5c3 (patch) | |
tree | 5fad5fe415bb638a3b47a848491ebb910e94971b | |
parent | a82de94d7201ab804ffcb24100b5fbfd0c0f783c (diff) | |
download | ATCD-baa6b09ada98727af4daff9ed45a027d3004b5c3.tar.gz |
Wed Jul 17 14:40:28 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r-- | ACE/apps/JAWS/ChangeLog | 5 | ||||
-rw-r--r-- | ACE/apps/JAWS/clients/Caching/http_handler.cpp | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ACE/apps/JAWS/ChangeLog b/ACE/apps/JAWS/ChangeLog index cb060d25180..cd9c930c8a1 100644 --- a/ACE/apps/JAWS/ChangeLog +++ b/ACE/apps/JAWS/ChangeLog @@ -1,3 +1,8 @@ +Wed Jul 17 14:40:28 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl> + + * clients/Caching/http_handler.cpp: + Fixed gcc warning + Fri Jul 13 20:21:08 UTC 2007 Ossama Othman <ossama_othman at symantec dot com> * clients/Blobby/Blob_Handler.cpp (receive_reply): diff --git a/ACE/apps/JAWS/clients/Caching/http_handler.cpp b/ACE/apps/JAWS/clients/Caching/http_handler.cpp index bfeda511176..7f0ca9076c6 100644 --- a/ACE/apps/JAWS/clients/Caching/http_handler.cpp +++ b/ACE/apps/JAWS/clients/Caching/http_handler.cpp @@ -133,10 +133,12 @@ HTTP_Handler::svc (void) while (!done); // ASSERT (contentlength != 0) + int size = 0; if (contentlength && (::sscanf (contentlength, "\nContent-%*[lL]ength: %d ", - &this->response_size_) == 1)) + &size) == 1)) { + this->response_size_ = size; ACE_Filecache_Handle afh (ACE_TEXT_CHAR_TO_TCHAR (this->filename_), this->response_size_); |