Mercurial > 510Connectbot
comparison src/ch/ethz/ssh2/channel/ChannelManager.java @ 290:9ae4ed7bb523 ganymed
start conversion from trilead to ganymed
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 18 Jul 2014 20:34:21 -0700 |
parents | d2ee20d9dff1 |
children | d2b303406d63 |
comparison
equal
deleted
inserted
replaced
289:d2ee20d9dff1 | 290:9ae4ed7bb523 |
---|---|
1 /* | 1 /* |
2 | |
2 * Copyright (c) 2006-2013 Christian Plattner. All rights reserved. | 3 * Copyright (c) 2006-2013 Christian Plattner. All rights reserved. |
3 * Please refer to the LICENSE.txt for licensing details. | 4 * Please refer to the LICENSE.txt for licensing details. |
4 */ | 5 */ |
5 | 6 |
6 package ch.ethz.ssh2.channel; | 7 package ch.ethz.ssh2.channel; |
492 try { | 493 try { |
493 waitForChannelSuccessOrFailure(c); | 494 waitForChannelSuccessOrFailure(c); |
494 } | 495 } |
495 catch(IOException e) { | 496 catch(IOException e) { |
496 authAgent = null; | 497 authAgent = null; |
497 return false; | 498 throw e; |
498 } | 499 } |
499 | |
500 return true; | |
501 } | 500 } |
502 | 501 |
503 public void registerThread(IChannelWorkerThread thr) throws IOException { | 502 public void registerThread(IChannelWorkerThread thr) throws IOException { |
504 synchronized(listenerThreads) { | 503 synchronized(listenerThreads) { |
505 if(listenerThreadsAllowed == false) { | 504 if(listenerThreadsAllowed == false) { |