aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/util/launchutils
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2008-09-08 11:34:48 +0000
committerDamian Minkov <damencho@jitsi.org>2008-09-08 11:34:48 +0000
commitb7ab3bcaeefa0bf618ccdd722f27d1317721db9f (patch)
treec52c2ca24fdf58b670f9607c1777d699f6ffa793 /src/net/java/sip/communicator/util/launchutils
parentc3c28ee2a27ab52e4b803527c49e8e3787577603 (diff)
downloadjitsi-b7ab3bcaeefa0bf618ccdd722f27d1317721db9f.zip
jitsi-b7ab3bcaeefa0bf618ccdd722f27d1317721db9f.tar.gz
jitsi-b7ab3bcaeefa0bf618ccdd722f27d1317721db9f.tar.bz2
Fix reading parameters from socket, causing troubles on windows.
Diffstat (limited to 'src/net/java/sip/communicator/util/launchutils')
-rw-r--r--src/net/java/sip/communicator/util/launchutils/SipCommunicatorLock.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/java/sip/communicator/util/launchutils/SipCommunicatorLock.java b/src/net/java/sip/communicator/util/launchutils/SipCommunicatorLock.java
index 9e76ab4..9ca688f 100644
--- a/src/net/java/sip/communicator/util/launchutils/SipCommunicatorLock.java
+++ b/src/net/java/sip/communicator/util/launchutils/SipCommunicatorLock.java
@@ -734,10 +734,11 @@ public class SipCommunicatorLock extends Thread
int argCount = 1024;
try
{
+ BufferedReader lineReader =
+ new BufferedReader(new InputStreamReader(is));
+
while (true)
{
- BufferedReader lineReader = new BufferedReader(
- new InputStreamReader(is));
String line = lineReader.readLine();
logger.debug(line);