Author: jflesch
Date: 2006-07-17 18:24:31 +0000 (Mon, 17 Jul 2006)
New Revision: 9646

Modified:
   trunk/apps/Thaw/src/thaw/fcp/FCPConnection.java
   trunk/apps/Thaw/src/thaw/i18n/thaw_fr.properties
Log:
Fix the bug blocking the exit

Modified: trunk/apps/Thaw/src/thaw/fcp/FCPConnection.java
===================================================================
--- trunk/apps/Thaw/src/thaw/fcp/FCPConnection.java     2006-07-17 17:01:38 UTC 
(rev 9645)
+++ trunk/apps/Thaw/src/thaw/fcp/FCPConnection.java     2006-07-17 18:24:31 UTC 
(rev 9646)
@@ -88,8 +88,10 @@
                socket = null;
                in = null;
                out = null;
-               bufferedOut.stopSender();
-               bufferedOut = null;
+               if(bufferedOut != null) {
+                       bufferedOut.stopSender();
+                       bufferedOut = null;
+               }

                setChanged();
                notifyObservers();
@@ -193,6 +195,7 @@
                                out.write(data);
                        } catch(java.io.IOException e) {
                                Logger.warning(this, "Unable to write() on the 
socket ?! : "+ e.toString());
+                               disconnect();
                                return false;
                        }
                } else {

Modified: trunk/apps/Thaw/src/thaw/i18n/thaw_fr.properties
===================================================================
--- trunk/apps/Thaw/src/thaw/i18n/thaw_fr.properties    2006-07-17 17:01:38 UTC 
(rev 9645)
+++ trunk/apps/Thaw/src/thaw/i18n/thaw_fr.properties    2006-07-17 18:24:31 UTC 
(rev 9646)
@@ -109,6 +109,6 @@
 thaw.plugin.priority.p6=Ne finira jamais

 thaw.plugin.fetch.keyList=Liste de cl?s (une cl? par ligne)
-thaw.plugin.fetch.loadKeyListFromFile=Charger les cl?s du fichier ...
+thaw.plugin.fetch.loadKeyListFromFile=Charger les cl?s d'un fichier ...
 thaw.plugin.fetch.destinationDirectory=R?pertoire de destination
 thaw.plugin.fetch.chooseDestination=Choisissez la destination ...


Reply via email to