undo previous commit and redo it properly via a patch file instead of
[invirt/packages/invirt-vnc-client.git] / RfbProto.java
index c0f500a..1ca25c0 100644 (file)
@@ -208,13 +208,11 @@ class RfbProto {
     port = p;
 
     if (viewer.socketFactory == null) {
-       System.out.println("Null socketFactory");
       sock = new Socket(host, port);
     } else {
       try {
        Class factoryClass = Class.forName(viewer.socketFactory);
        SocketFactory factory = (SocketFactory)factoryClass.newInstance();
-       System.out.println("Using socketFactory " + factory);
        if (viewer.inAnApplet)
          sock = factory.createSocket(host, port, viewer);
        else
@@ -238,7 +236,7 @@ class RfbProto {
     try {
       sock.close();
       closed = true;
-      System.out.println("RFB socket closed " + sock);
+      System.out.println("RFB socket closed");
       if (rec != null) {
        rec.close();
        rec = null;