commit 31f73b2e2ae353563a0cf45d2350d1ccafadd306 from: Omar Polo via: Thomas Adam date: Tue Apr 09 11:15:50 2024 UTC remove trailing whitespaces commit - 233dfb110ba5531b63eec5f1817020cdb6fdbfd7 commit + 31f73b2e2ae353563a0cf45d2350d1ccafadd306 blob - d1178c8e8f8c8e5a90c5286ec4787bed6a2980b3 blob + d6c25560687c7bf3e0835a08fda7b2cbe35b7629 --- gotd/libexec/got-notify-email/got-notify-email.c +++ gotd/libexec/got-notify-email/got-notify-email.c @@ -103,7 +103,7 @@ set_default_fromaddr(void) errx(1, "my UID %d was not found in password database", getuid()); } - + if (gethostname(hostname, sizeof(hostname)) == -1) err(1, "gethostname"); @@ -338,7 +338,7 @@ main(int argc, char *argv[]) /* used by the regression test suite */ timeoutstr = getenv("GOT_NOTIFY_EMAIL_TIMEOUT"); if (timeoutstr) { - smtp_timeout = strtonum(timeoutstr, 0, 600, &errstr); + smtp_timeout = strtonum(timeoutstr, 0, 600, &errstr); if (errstr != NULL) errx(1, "timeout in seconds is %s: %s", errstr, timeoutstr);