mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 02:36:01 +02:00
[fix] "Socket closed" message needs to be compared case insensitive
This commit is contained in:
parent
a918a586b9
commit
8bb0044a40
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ public class TelnetConnection extends Thread implements TelnetCodes {
|
|||
// A "socket closed" exception is normal here. It's caused by the
|
||||
// user clicking the disconnect button on the Terminal view toolbar.
|
||||
|
||||
if (message != null && !message.equals("socket closed") && !message.equalsIgnoreCase("Connection reset")) //$NON-NLS-1$ //$NON-NLS-2$
|
||||
if (message != null && !message.equalsIgnoreCase("Socket closed") && !message.equalsIgnoreCase("Connection reset")) //$NON-NLS-1$ //$NON-NLS-2$
|
||||
{
|
||||
Logger.logException(ex);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue