mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 05:27:38 +03:00
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:
parent
338e8aca09
commit
4db349c1f3
827 changed files with 7343 additions and 7336 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue