]> git.sur5r.net Git - i3/i3/commitdiff
fix formatting in get_process_filename.c
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 24 Dec 2012 15:57:30 +0000 (16:57 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 24 Dec 2012 15:57:30 +0000 (16:57 +0100)
libi3/get_process_filename.c

index 0a6538702d448ce12a909b662ff8c3f708405889..630e3d1caa986e122f3e44d2f3811650ef375a5d 100644 (file)
@@ -32,8 +32,8 @@ char *get_process_filename(const char *prefix) {
             char *tmp;
             sasprintf(&tmp, "%s/i3", dir);
             dir = tmp;
-                       struct stat buf;
-                       if (stat(dir, &buf) != 0) {
+            struct stat buf;
+            if (stat(dir, &buf) != 0) {
                 if (mkdir(dir, 0700) == -1) {
                     perror("mkdir()");
                     return NULL;