aboutsummaryrefslogtreecommitdiffstats
path: root/main/mosquitto/mosquitto_passwd-flush.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/mosquitto/mosquitto_passwd-flush.patch')
-rw-r--r--main/mosquitto/mosquitto_passwd-flush.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/main/mosquitto/mosquitto_passwd-flush.patch b/main/mosquitto/mosquitto_passwd-flush.patch
deleted file mode 100644
index 19288992e1..0000000000
--- a/main/mosquitto/mosquitto_passwd-flush.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/src/mosquitto_passwd.c b/src/mosquitto_passwd.c
-index ea8c315..5b303c1 100644
---- a/src/mosquitto_passwd.c
-+++ b/src/mosquitto_passwd.c
-@@ -288,6 +288,7 @@ int get_password(char *password, int len)
- char pw1[MAX_BUFFER_LEN], pw2[MAX_BUFFER_LEN];
-
- printf("Password: ");
-+ fflush(stdout);
- if(gets_quiet(pw1, MAX_BUFFER_LEN)){
- fprintf(stderr, "Error: Empty password.\n");
- return 1;
-@@ -295,6 +296,7 @@ int get_password(char *password, int len)
- printf("\n");
-
- printf("Reenter password: ");
-+ fflush(stdout);
- if(gets_quiet(pw2, MAX_BUFFER_LEN)){
- fprintf(stderr, "Error: Empty password.\n");
- return 1;