diff options
author | Henrik Andersson <hean01@cendio.com> | 2017-12-04 09:03:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-04 09:03:14 +0100 |
commit | 5961aabc009a8ad5a8086512cb1681fda2708c3c (patch) | |
tree | a8da15b12aadecf421adceeba043b420b779d853 | |
parent | 1f0b60a405471929b7ef3b9fd74efd16a801fee0 (diff) | |
parent | 04ebaefede1400b92d82aac3e7384dc0eb57768c (diff) | |
download | rdesktop-5961aabc009a8ad5a8086512cb1681fda2708c3c.zip |
Merge pull request #204 from uglym8/allow_short_passwords
Allow single character passwords
-rw-r--r-- | rdesktop.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -674,7 +674,7 @@ main(int argc, char *argv[]) break; case 'p': - if ((optarg[0] != '-') && (optarg[1] != 0)) + if (!((optarg[0] == '-') && (optarg[1] == 0))) { STRNCPY(g_password, optarg, sizeof(g_password)); flags |= RDP_INFO_AUTOLOGON; |