From: Automatic source maintenance Date: Tue, 12 Feb 2013 01:35:25 +0000 (-0700) Subject: SourceFormat Enforcement X-Git-Tag: SQUID_3_4_0_1~286 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6a1a5b78f6eac1af3e4565b699370216033ec79e;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/tools.cc b/src/tools.cc index b8fcc5f031..524f59c23d 100644 --- a/src/tools.cc +++ b/src/tools.cc @@ -147,7 +147,7 @@ mail_warranty(void) // XXX tempnam is obsolete since POSIX.2008-1 // tmpfile is not an option, we want the created files to stick around if ((filename = tempnam(NULL, APP_SHORTNAME)) == NULL || - (fp = fopen(filename, "w")) == NULL) { + (fp = fopen(filename, "w")) == NULL) { umask(prev_umask); return; }