commit d50b6001c5f5f106e0e5b148bb72fe06f2c9bc78 from: Omar Polo date: Sat Sep 07 10:04:53 2024 UTC gotd: unset notify user/pass too for symmetry commit - e7e510b6031184c82b94ee99efad5637ab7ad76a commit + d50b6001c5f5f106e0e5b148bb72fe06f2c9bc78 blob - 804d5eca66fbe09fb4b30ded4f78f34438caf7d9 blob + 26de8c3463b3ed60b05a48ed4b26fdd37ddb75d2 --- gotd/notify.c +++ gotd/notify.c @@ -191,6 +191,9 @@ run_notification_helper(const char *prog, const char * if (user != NULL && pass != NULL) { setenv("GOT_NOTIFY_HTTP_USER", user, 1); setenv("GOT_NOTIFY_HTTP_PASS", pass, 1); + } else { + unsetenv("GOTD_NOTIFY_HTTP_USER"); + unsetenv("GOTD_NOTIFY_HTTP_PASS"); } if (hmac_secret)