mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
spacing; no newline at end of file
This commit is contained in:
parent
c0b6c1a5ab
commit
b1600c0b02
1 changed files with 3 additions and 3 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: os.c,v 1.1 2001/08/06 05:35:16 mayer Exp $ */
|
||||
/* $Id: os.c,v 1.2 2001/08/08 23:26:58 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -54,11 +54,11 @@ safe_create(const char *filename) {
|
|||
return (NULL);
|
||||
}
|
||||
|
||||
fd = open(filename, O_WRONLY|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR);
|
||||
fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);
|
||||
if (fd == -1)
|
||||
return (NULL);
|
||||
f = fdopen(fd, "w");
|
||||
if (f == NULL)
|
||||
close(fd);
|
||||
return (f);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue