diff options
author | James Booth <boothj5@gmail.com> | 2015-01-28 00:52:10 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-01-28 00:52:10 +0000 |
commit | 6529220351dd9b11c610df1c3372dd138d2af2b4 (patch) | |
tree | cfb7a81f1f22e7631b43368d8b6cc18a72bce293 /src | |
parent | 9800a46adb3b6c622d242ce8fc5904030cf3c111 (diff) | |
download | profani-tty-6529220351dd9b11c610df1c3372dd138d2af2b4.tar.gz |
Strip leading/trailing whitespace from result of eval_password
fixes #495
Diffstat (limited to 'src')
-rw-r--r-- | src/command/commands.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index 75a4f6cf..60ef3780 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -154,6 +154,7 @@ cmd_connect(gchar **args, struct cmd_help_t help) cons_show("Error evaluating password, see logs for details."); return TRUE; } + g_strstrip(account->password); } else { log_error("popen failed when running eval_password."); cons_show("Error evaluating password, see logs for details."); |