don't use deprecated method
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sat, 3 May 2008 20:09:02 +0000 (20:09 +0000)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sat, 3 May 2008 20:09:02 +0000 (20:09 +0000)
git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@844 c3eda9e8-030b-0410-8277-bc7414b0a119

src/net/pterodactylus/fcp/highlevel/HighLevelClient.java

index 1b52e72..d5252ad 100644 (file)
@@ -231,7 +231,7 @@ public class HighLevelClient {
         * Disconnects the client from the node.
         */
        public void disconnect() {
-               fcpConnection.disconnect();
+               fcpConnection.close();
        }
 
        /**