Fixes #174: variable length no longer uninitialized
This commit is contained in:
parent
af90d7598f
commit
5fc5308a8b
1 changed files with 1 additions and 1 deletions
|
|
@ -556,7 +556,7 @@ namespace SimpleWeb {
|
|||
getline(session->response->content, line);
|
||||
bytes_transferred -= line.size() + 1;
|
||||
line.pop_back();
|
||||
unsigned long length;
|
||||
unsigned long length = 0;
|
||||
try {
|
||||
length = stoul(line, 0, 16);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue