Fix a bug in --username option.
This commit is contained in:
parent
6e05a366fa
commit
9bed2e6b2e
@ -46,7 +46,7 @@ reconnect(int elevel)
|
||||
if (port && port[0])
|
||||
appendStringInfo(&buf, "port=%s ", port);
|
||||
if (username && username[0])
|
||||
appendStringInfo(&buf, "username=%s ", username);
|
||||
appendStringInfo(&buf, "user=%s ", username);
|
||||
if (password && password[0])
|
||||
appendStringInfo(&buf, "password=%s ", password);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user