aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2016-01-04 13:36:22 +0100
committerMattias Andrée <maandree@member.fsf.org>2016-01-04 13:36:22 +0100
commit8a85a28dff87f0c5b9382109dd4a6d8f3c595d71 (patch)
tree02dc8e05638a96d1c4f37e3939321caf9b4f8d8c
parent... (diff)
downloadradharc-8a85a28dff87f0c5b9382109dd4a6d8f3c595d71.tar.gz
radharc-8a85a28dff87f0c5b9382109dd4a6d8f3c595d71.tar.bz2
radharc-8a85a28dff87f0c5b9382109dd4a6d8f3c595d71.tar.xz
whitespace
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r--src/state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c
index 88efd74..5a22047 100644
--- a/src/state.c
+++ b/src/state.c
@@ -168,7 +168,7 @@ get_state_pathname(const struct settings *settings)
char *env;
int rc = -1, saved_errno;
try (display = get_display_string(settings));
- if (!dir || !*dir) dir = "/run";
+ if (!dir || !*dir) dir = "/run";
try (env = malloc((strlen(dir) + sizeof("/radharc/") + strlen(display)) * sizeof(char)));
stpcpy(stpcpy(stpcpy(env, dir), "/radharc/"), display);
rc = setenv("RADHARC_STATE", env, 1);