Explorar o código

but forgot something

Bart Reedijk %!s(int64=10) %!d(string=hai) anos
pai
achega
e70e07b76c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Proftaak Remote Healthcare/ServerV2/AppGlobal.cs

+ 2 - 2
Proftaak Remote Healthcare/ServerV2/AppGlobal.cs

@@ -204,7 +204,7 @@ namespace ServerV2
                                     }
                                 }
                             }
-                        }
+                        } 
                         break;
                     case "4":  // Nieuwe patient
                         users.Add(new User(response[1], response[2], Int32.Parse(response[3]), Boolean.Parse(response[4]), Int32.Parse(response[5])));
@@ -290,7 +290,7 @@ namespace ServerV2
                             Communication.Send(Case10String, Case10Client.sslStream);
                         }
                         currentUser = users.FirstOrDefault(item => item.id == response[1]);
-                        Communication.Send("10|" + currentUser.id + "|", sslStream);
+                        Communication.Send("10|" + "1" + currentUser.id + "|", sslStream);
                         break;
                     default:
                         break;