Skip to content

Commit

Permalink
Merge pull request #1 from sebitza1020/updater
Browse files Browse the repository at this point in the history
Updater
  • Loading branch information
sebitza1020 authored Jun 6, 2020
2 parents 2ae0fd9 + aefd76f commit 30b4ad4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Server.iml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,14 @@
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://C:/Program Files/MySQL Java Connector/mysql-connector-java-5.1.48.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
</component>
</module>
2 changes: 1 addition & 1 deletion src/ClientHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public void run() {
try {
output.writeUTF("");
String received = input.readUTF();
if (received.equals("Done") || this.con.isClosed()) {
if (received.equals("Done")) {
this.socket.close();
System.out.println("Connection terminated");
break;
Expand Down

0 comments on commit 30b4ad4

Please sign in to comment.