]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Fix formatting.
authorJelmer Vernooij <jelmer@samba.org>
Wed, 5 Mar 2008 16:30:18 +0000 (17:30 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Wed, 5 Mar 2008 16:30:18 +0000 (17:30 +0100)
source/utils/smbget.c

index 5b2149b8435b42e3cb6a7815f393f830ca3c1019..e5185d09f0168979fc00ec56f5e218aec1f67f94 100644 (file)
@@ -313,9 +313,8 @@ static int smb_download_file(const char *base, const char *name, int recursive,
                        smbc_close(remotehandle);
                        return 0;
                }
-               /* else open it for writting and truncate if it exists */
-               localhandle = open(newpath, O_CREAT | O_NONBLOCK | O_RDWR |
-                               O_TRUNC, 0775);
+               /* else open it for writing and truncate if it exists */
+               localhandle = open(newpath, O_CREAT | O_NONBLOCK | O_RDWR | O_TRUNC, 0775);
                if(localhandle < 0) {
                        fprintf(stderr, "Can't open %s : %s\n", newpath,
                                        strerror(errno));