aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--notify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/notify.c b/notify.c
index 9cf44251..2dd303db 100644
--- a/notify.c
+++ b/notify.c
@@ -66,10 +66,10 @@ consume_stdout(struct notification *notif, bool eof)
left -= len + (eol != NULL ? 1 : 0);
}
- if (left > 0) {
+ if (left > 0)
memmove(notif->stdout_data, data, left);
- notif->stdout_sz = left;
- }
+
+ notif->stdout_sz = left;
}
static bool