console_get_line() returns failure iff console_batch_mode is set, whereas
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 19 Nov 2004 21:05:31 +0000 (21:05 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 19 Nov 2004 21:05:31 +0000 (21:05 +0000)
commita21a6a9ab0bfdbb0ea76a7c7d9a21d0f8ec70fa1
tree46e21a6a2cb2b7c525ae743bd94b625081e2ef34
parentaa09f7d03c79870c460fa57602673d48e3d6aa1f
console_get_line() returns failure iff console_batch_mode is set, whereas
before is would return success and the empty string. IMO this makes `-batch'
much more useful; before, utilities such as Plink in `-batch' mode would
attempt to plough on using empty strings for usernames, passwords, and so on.

git-svn-id: svn://svn.tartarus.org/sgt/putty@4832 cda61777-01e9-0310-a592-d414129be87e
unix/uxcons.c
windows/wincons.c