// Check the server hostname. Return false
// if no value has been set.
- if (ConnData->Hostname.size() > 0){
+ if (ConnData->Hostname.size() == 0){
return false;
// Check the server username. Return false
// if no value has been set.
-
- if (ConnData->Username.size() > 0){
+
+ if (ConnData->Username.size() == 0){
+
return false;
- }
-
+
+ }
+
// Check the server password. Return false
// if no value has been set.
-
- if (ConnData->Password.size() > 0){
+
+ if (ConnData->Password.size() == 0){
+
return false;
+
}
// Cannot check UseSSL: It is either true