Fixed compilation warning about unitialized variable

This commit is contained in:
Pauli Nieminen 2008-08-06 15:55:20 +00:00
parent 47ad6eeb9a
commit a84a266966

View file

@ -886,7 +886,7 @@ size_t send_data(const config& cfg, connection connection_num, const bool gzippe
// log_scope2(network, "sending data");
if(!connection_num) {
DBG_NW << "sockets: " << sockets.size() << "\n";
size_t size;
size_t size = 0;
for(sockets_list::const_iterator i = sockets.begin();
i != sockets.end(); ++i) {
DBG_NW << "server socket: " << server_socket << "\ncurrent socket: " << *i << "\n";