Ver código fonte

disabled SMB for the moment to prevent crashes

Fabio Arnold 9 anos atrás
pai
commit
df8219f9f1

+ 3 - 0
src/de/tudarmstadt/informatik/hostage/Listener.java

@@ -136,6 +136,9 @@ public class Listener implements Runnable {
 	 * and notifies the background service.
 	 */
 	public boolean start() {
+		if (protocol.toString().equals("SMB")) {
+			return false; // disable smb for the moment to prevent crashes
+		}
 		try {
 			server = new MyServerSocketFactory().createServerSocket(port);
 			if (server == null)