2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Untabify. Fixed one line in copyright which is longer than 80
	columns.
	* src
	* test
This commit is contained in:
Tatsuhiro Tsujikawa 2010-01-05 16:01:46 +00:00
parent 338e8aca09
commit 4db349c1f3
827 changed files with 7343 additions and 7336 deletions

View file

@ -17,7 +17,7 @@ public:
SharedHandle<DHTMessageCallback> _callback;
Entry(const SharedHandle<DHTMessage>& message, time_t timeout,
const SharedHandle<DHTMessageCallback>& callback):
const SharedHandle<DHTMessageCallback>& callback):
_message(message),
_timeout(timeout),
_callback(callback) {}
@ -32,17 +32,17 @@ public:
virtual void
addMessageToQueue(const SharedHandle<DHTMessage>& message,
time_t timeout,
const SharedHandle<DHTMessageCallback>& callback =
SharedHandle<DHTMessageCallback>())
time_t timeout,
const SharedHandle<DHTMessageCallback>& callback =
SharedHandle<DHTMessageCallback>())
{
_messageQueue.push_back(Entry(message, timeout, callback));
}
virtual void
addMessageToQueue(const SharedHandle<DHTMessage>& message,
const SharedHandle<DHTMessageCallback>& callback =
SharedHandle<DHTMessageCallback>())
const SharedHandle<DHTMessageCallback>& callback =
SharedHandle<DHTMessageCallback>())
{
_messageQueue.push_back(Entry(message, DHT_MESSAGE_TIMEOUT, callback));
}