commit 8bffa12946bc31a810c9a0dc418fc23f0bd227b2 from: Omar Polo date: Tue Apr 09 07:03:47 2024 UTC remove trailing whitespaces commit - 124eeb84c84b5d49a94e0210e4add23c6da93b47 commit + 8bffa12946bc31a810c9a0dc418fc23f0bd227b2 blob - 21dffe9b934fbaf733bba6a2b1627deb139fbb9e blob + 35a2c6bb85273ba11c1a12f58fd24d93c3e3843c --- gotd/libexec/got-notify-email/got-notify-email.c +++ gotd/libexec/got-notify-email/got-notify-email.c @@ -102,7 +102,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"); @@ -337,7 +337,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);