]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
spacing
authorAndreas Gustafsson <source@isc.org>
Wed, 8 Aug 2001 23:27:03 +0000 (23:27 +0000)
committerAndreas Gustafsson <source@isc.org>
Wed, 8 Aug 2001 23:27:03 +0000 (23:27 +0000)
bin/rndc/unix/os.c

index 2aa534577d9b0c3122a14dbb95dce201e44cd2f0..feedd2136e77d63c267b3b4865ab0b15969bf2b7 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: os.c,v 1.4 2001/08/08 23:13:16 gson Exp $ */
+/* $Id: os.c,v 1.5 2001/08/08 23:27:03 gson Exp $ */
 
 #include <config.h>
 
@@ -51,12 +51,12 @@ safe_create(const char *filename) {
         if (stat(filename, &sb) == -1) {
                 if (errno != ENOENT)
                        return (NULL);
-               flags = O_WRONLY|O_CREAT|O_EXCL;
+               flags = O_WRONLY | O_CREAT | O_EXCL;
         } else if ((sb.st_mode & S_IFREG) == 0) {
                errno = EOPNOTSUPP;
                return (NULL);
        } else
-               flags = O_WRONLY|O_TRUNC;
+               flags = O_WRONLY | O_TRUNC;
 
        fd = open(filename, flags, S_IRUSR | S_IWUSR);
        if (fd == -1)