Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-core: Support retrieving passwords with GIT_ASKPASS
[gitweb.git]
/
imap-send.c
diff --git
a/imap-send.c
b/imap-send.c
index 5631930bc3462c5d85d29e7e840f1cf24cd7111b..5254b2a2785bd41394ff0107fa9476dd189e16e3 100644
(file)
--- a/
imap-send.c
+++ b/
imap-send.c
@@
-1107,7
+1107,7
@@
static struct store *imap_open_store(struct imap_server_conf *srvc)
if (!srvc->pass) {
char prompt[80];
sprintf(prompt, "Password (%s@%s): ", srvc->user, srvc->host);
- arg = getpass(prompt);
+ arg = g
it_g
etpass(prompt);
if (!arg) {
perror("getpass");
exit(1);