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
errx(1, "my UID %d was not found in password database",
getuid());
}
-
+
if (gethostname(hostname, sizeof(hostname)) == -1)
err(1, "gethostname");
/* 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);