diff options
author | Damian Minkov <damencho@jitsi.org> | 2008-09-08 11:34:48 +0000 |
---|---|---|
committer | Damian Minkov <damencho@jitsi.org> | 2008-09-08 11:34:48 +0000 |
commit | b7ab3bcaeefa0bf618ccdd722f27d1317721db9f (patch) | |
tree | c52c2ca24fdf58b670f9607c1777d699f6ffa793 /src/net/java/sip/communicator/util/launchutils | |
parent | c3c28ee2a27ab52e4b803527c49e8e3787577603 (diff) | |
download | jitsi-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.java | 5 |
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); |