diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-01-25 22:13:52 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-01-26 15:32:15 +0100 |
commit | 2651f1c071927b7fc440ec7a638ecad7ccf04a2e (patch) | |
tree | c2b4f94c949590c4689c1509b490b4c9d4cc9bc7 /methods/server.cc | |
parent | 3b0e76ec9c9386e428944f621b970d691884b84a (diff) |
act on various suggestions from cppcheck
Reported-By: cppcheck
Git-Dch: Ignore
Diffstat (limited to 'methods/server.cc')
-rw-r--r-- | methods/server.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/methods/server.cc b/methods/server.cc index 6340390d4..322b8d94c 100644 --- a/methods/server.cc +++ b/methods/server.cc @@ -246,7 +246,8 @@ bool ServerState::HeaderLine(string Line) } /*}}}*/ // ServerState::ServerState - Constructor /*{{{*/ -ServerState::ServerState(URI Srv, ServerMethod *Owner) : ServerName(Srv), TimeOut(120), Owner(Owner) +ServerState::ServerState(URI Srv, ServerMethod *Owner) : + DownloadSize(0), ServerName(Srv), TimeOut(120), Owner(Owner) { Reset(); } |