diff --git a/kio/kio/connection.cpp b/kio/kio/connection.cpp index 6360d379..1fbc6109 100644 --- a/kio/kio/connection.cpp +++ b/kio/kio/connection.cpp @@ -276,7 +276,7 @@ void SocketConnectionBackend::socketReadyRead() // kDebug() << this << "Got " << socket->bytesAvailable() << " bytes"; if (len == -1) { // We have to read the header - static char buffer[HeaderSize]; + char buffer[HeaderSize]; if (socket->bytesAvailable() < HeaderSize) { return; // wait for more data