Removed hard-coded reply timeout.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2655 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Matt Tucker 2005-08-15 15:21:02 +00:00 committed by matt
parent 7ae75258be
commit 37231ec646
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ public class PrivateDataManager {
connection.sendPacket(privateDataGet);
// Wait up to five seconds for a response from the server.
IQ response = (IQ)collector.nextResult(5000);
IQ response = (IQ)collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
// Stop queuing results
collector.cancel();
if (response == null) {