Differences From Artifact [e4a5ff5abb]:
- File src/url.c — part of check-in [1cd61c96bc] at 2013-02-21 14:54:37 on branch trunk — Do not prompt for the sync password more than once. (user: drh size: 14048) [more...]
To Artifact [468354aed9]:
- File src/url.c — part of check-in [c06e474f68] at 2013-03-03 00:26:12 on branch trunk — Do not prompt for passwords on ssh: or file: syncs. (user: drh size: 14090) [more...]
| ︙ | |||
427 428 429 430 431 432 433 434 435 436 437 438 439 440 | 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 | + |
}
/*
** Prompt the user for the password for g.urlUser. Store the result
** in g.urlPasswd.
*/
void url_prompt_for_password(void){
if( g.urlIsSsh || g.urlIsFile ) return;
if( isatty(fileno(stdin))
&& (g.urlFlags & URL_PROMPT_PW)!=0
&& (g.urlFlags & URL_PROMPTED)==0
){
char *zPrompt = mprintf("\rpassword for %s: ", g.urlUser);
Blob x;
fossil_force_newline();
|
| ︙ |