projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Network::clearCaps only sync when caps removed
[quassel.git]
/
src
/
common
/
compressor.cpp
diff --git
a/src/common/compressor.cpp
b/src/common/compressor.cpp
index
1d2233a
..
fd3108d
100644
(file)
--- a/
src/common/compressor.cpp
+++ b/
src/common/compressor.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
4
by the Quassel Project *
+ * Copyright (C) 2005-201
6
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-97,7
+97,7
@@
bool Compressor::initStreams()
_deflater = new z_stream;
memset(_deflater, 0, sizeof(z_stream));
if (Z_OK != deflateInit(_deflater, zlevel)) {
_deflater = new z_stream;
memset(_deflater, 0, sizeof(z_stream));
if (Z_OK != deflateInit(_deflater, zlevel)) {
- qWarning() << "Could not intialize the deflate stream!";
+ qWarning() << "Could not in
i
tialize the deflate stream!";
return false;
}
return false;
}
@@
-243,7
+243,7
@@
void Compressor::writeData()
return;
}
return;
}
- if (_deflater->avail_out ==
ioBufferSize
)
+ if (_deflater->avail_out ==
static_cast<unsigned int>(ioBufferSize)
)
continue; // nothing to write here
if (!_socket->write(_outputBuffer.constData(), ioBufferSize - _deflater->avail_out)) {
continue; // nothing to write here
if (!_socket->write(_outputBuffer.constData(), ioBufferSize - _deflater->avail_out)) {