mirror of
https://codeberg.org/scip/dbtool.git
synced 2025-12-16 19:00:58 +01:00
move to meson&ninja (#1)
This commit is contained in:
@@ -127,7 +127,6 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
|
||||
string readpass() {
|
||||
char *pass;
|
||||
char *envpass;
|
||||
envpass = getenv(PW_VARNAME);
|
||||
if(envpass != NULL) {
|
||||
@@ -136,7 +135,7 @@ string readpass() {
|
||||
}
|
||||
else {
|
||||
#ifdef HAVE_GETPASS
|
||||
pass = getpass("passphrase: ");
|
||||
char *pass = getpass("passphrase: ");
|
||||
string password = pass;
|
||||
free(pass);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user