]> granicus.if.org Git - curl/commit
getpass: fix password parsing from console
authorMaks Naumov <maksqwe1@ukr.net>
Mon, 27 Jan 2014 14:52:42 +0000 (16:52 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 28 Jan 2014 12:28:00 +0000 (13:28 +0100)
commit5a47062cada9bff545f1b611c7b4c9f7b1ade0cf
tree1f3e0893ab8032b5095c6b2d1e75c3a1e750b34e
parent0f46b3b3ddcf4fe0546477a1f09287ad358bb31e
getpass: fix password parsing from console

Incorrect password if use backspace while entered the password.

Regression from f7bfdbabf2d5398f4c266eabb0992a04af661f22

The '?:' operator has lower priority than the '-' operator
src/tool_getpass.c