chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shared: add formats-util.h
[elogind.git]
/
src
/
shared
/
ask-password-api.c
diff --git
a/src/shared/ask-password-api.c
b/src/shared/ask-password-api.c
index 0a61dafc59026631532478607488e3736fcd80a1..dfc89d23fd91cadb07d193fea2130bf65265c44f 100644
(file)
--- a/
src/shared/ask-password-api.c
+++ b/
src/shared/ask-password-api.c
@@
-32,6
+32,7
@@
#include <sys/signalfd.h>
#include "util.h"
#include <sys/signalfd.h>
#include "util.h"
+#include "formats-util.h"
#include "mkdir.h"
#include "strv.h"
#include "mkdir.h"
#include "strv.h"
@@
-475,6
+476,8
@@
int ask_password_agent(
goto finish;
}
goto finish;
}
+ cmsg_close_all(&msghdr);
+
if (n <= 0) {
log_error("Message too short");
continue;
if (n <= 0) {
log_error("Message too short");
continue;