We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3f5184 commit b7cab7fCopy full SHA for b7cab7f
shadow.c
@@ -64,7 +64,7 @@ void run_pw_backend_child(void) {
64
assert(encpw != NULL);
65
while (1) {
66
char *buf;
67
- ssize_t size = read_comm_request(&buf);
+ ssize_t size = read_comm_prompt_response(&buf);
68
if (size < 0) {
69
exit(EXIT_FAILURE);
70
} else if (size == 0) {
@@ -81,7 +81,7 @@ void run_pw_backend_child(void) {
81
}
82
bool success = strcmp(c, encpw) == 0;
83
84
- if (!write_comm_reply(success)) {
+ if (write_comm_auth_result_from_backend(success) < 0) {
85
86
87
0 commit comments