[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[myserver-commit] [SCM] GNU MyServer branch, master, updated. v0.9.2-508
From: |
Giuseppe Scrivano |
Subject: |
[myserver-commit] [SCM] GNU MyServer branch, master, updated. v0.9.2-508-gc7cd463 |
Date: |
Sun, 07 Aug 2011 20:55:31 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU MyServer".
The branch, master has been updated
via c7cd463b7970e3a428e665e81d888157e111288e (commit)
via 230233f75a676c22a0c2ca69738604e47c1ae1ec (commit)
from 50c4a915f15be826eb76d71f5a3ec21af6df448a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c7cd463b7970e3a428e665e81d888157e111288e
Author: Giuseppe Scrivano <address@hidden>
Date: Sun Aug 7 13:44:01 2011 +0200
Post-release administration.
diff --git a/myserver/NEWS b/myserver/NEWS
index 38f905d..05be47d 100644
--- a/myserver/NEWS
+++ b/myserver/NEWS
@@ -1,5 +1,7 @@
GNU myserver NEWS -*- outline -*-
+* Noteworthy changes in release X.Y.Z
+
* Noteworthy changes in release 0.11
** Bug fixes
commit 230233f75a676c22a0c2ca69738604e47c1ae1ec
Author: Giuseppe Scrivano <address@hidden>
Date: Sun Aug 7 13:43:26 2011 +0200
ClientsThread: drop a class variable used only in a function
diff --git a/myserver/include/server/clients_thread.h
b/myserver/include/server/clients_thread.h
index f2e0457..38bb642 100644
--- a/myserver/include/server/clients_thread.h
+++ b/myserver/include/server/clients_thread.h
@@ -90,7 +90,6 @@ private:
MemBuf buffer;
MemBuf auxiliaryBuffer;
int controlConnections ();
- u_long nBytesToRead;
};
DEFINE_THREAD (clients_thread, pParam);
diff --git a/myserver/src/server/clients_thread.cpp
b/myserver/src/server/clients_thread.cpp
index 073bd90..6e43d44 100644
--- a/myserver/src/server/clients_thread.cpp
+++ b/myserver/src/server/clients_thread.cpp
@@ -58,7 +58,6 @@ ClientsThread::ClientsThread (Server* server)
initialized = false;
toDestroy = false;
staticThread = 0;
- nBytesToRead = 0;
}
/*!
@@ -248,6 +247,7 @@ int ClientsThread::controlConnections ()
ConnectionPtr c;
Protocol* protocol = 0;
u_long dataRead = 0;
+ u_long nBytesToRead;
c = server->getConnection (this->id);
@@ -275,7 +275,6 @@ int ClientsThread::controlConnections ()
buffer.setLength (dataRead + err);
c->setForceControl (0);
- /* Refresh with the right value. */
nBytesToRead = dataRead + err;
if ((dataRead + err) < MYSERVER_KB (8))
-----------------------------------------------------------------------
Summary of changes:
myserver/NEWS | 2 ++
myserver/include/server/clients_thread.h | 1 -
myserver/src/server/clients_thread.cpp | 3 +--
3 files changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU MyServer
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [myserver-commit] [SCM] GNU MyServer branch, master, updated. v0.9.2-508-gc7cd463,
Giuseppe Scrivano <=