summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-nntp/klibido/files/0.2.0-nntpthreadsocket.cpp.diff')
-rw-r--r--net-nntp/klibido/files/0.2.0-nntpthreadsocket.cpp.diff19
1 files changed, 19 insertions, 0 deletions
diff --git a/net-nntp/klibido/files/0.2.0-nntpthreadsocket.cpp.diff b/net-nntp/klibido/files/0.2.0-nntpthreadsocket.cpp.diff
new file mode 100644
index 000000000000..d824c25e5abe
--- /dev/null
+++ b/net-nntp/klibido/files/0.2.0-nntpthreadsocket.cpp.diff
@@ -0,0 +1,19 @@
+--- src/nntpthreadsocket.cpp 2004-11-17 00:04:18.000000000 +0100
++++ src/nntpthreadsocket.cpp.fixed 2005-01-04 14:59:07.460083575 +0100
+@@ -1983,14 +1983,14 @@
+ if (!m_sendCmd(cmd, NntpThreadSocket::list))
+ return false;
+
+- while (!(cancel) && line[0] != '.') {
++ while (!(line[0] == '.') && !(line[1] == '\0') ) {
+ if (!waitLine())
+ return false;
+
+
+
+ while (m_readLine()) {
+- if (line[0] == '.')
++ if ( (line[0] == '.') && (line[1] == '\0') )
+ break;
+ else {
+