npm

Nihal's Password Manager (WIP)
git clone git://git.nihaljere.xyz/npm
Log | Files | Refs | README | LICENSE

commit 74f650f0b6a8723269dcc9e6199b08eb05612e5e
parent 52d43e93c883d8f0a488fd6a5c182f304ad89538
Author: Nihal Jere <nihal@nihaljere.xyz>
Date:   Tue, 12 Oct 2021 13:41:52 -0500

npm-agent: add parenthesis around assignment in condition

Diffstat:
Mnpm-agent.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/npm-agent.c b/npm-agent.c @@ -220,7 +220,7 @@ void alarm_handler() { int ret; - while (ret = write(timerpipe[1], "a", 1) < 1) { + while ((ret = write(timerpipe[1], "a", 1)) < 1) { if (ret == -1) { perror("failed to write to timerpipe"); break;