portableproplib/prop_object: fix tyops in previous.

This commit is contained in:
Juan RP 2015-07-26 09:16:32 +02:00
parent 0d3c07cdee
commit 8acc375487

View File

@ -851,10 +851,10 @@ _prop_object_externalize_write_file(const char *fname, const char *xml,
myumask = umask(S_IXUSR|S_IRWXG|S_IRWXO);
if ((fd = mkstemp(tname)) == -1) {
umask(myymask);
umask(myumask);
return (false);
}
umask(myymask);
umask(myumask);
if (do_compress) {
if ((gzf = gzdopen(fd, "a")) == NULL)