aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-flip.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-07-16 15:29:43 +0200
committerMattias Andrée <maandree@kth.se>2017-07-16 15:29:43 +0200
commitd05d162cb81664f292834fa5d48d623d2b6147a7 (patch)
tree9d4252fcdfa2210613188d5c965514cfab6a8ec2 /src/blind-flip.c
parentUse #include instead of #define (diff)
downloadblind-d05d162cb81664f292834fa5d48d623d2b6147a7.tar.gz
blind-d05d162cb81664f292834fa5d48d623d2b6147a7.tar.bz2
blind-d05d162cb81664f292834fa5d48d623d2b6147a7.tar.xz
Misc code improvements
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/blind-flip.c')
-rw-r--r--src/blind-flip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blind-flip.c b/src/blind-flip.c
index 84cbbf3..b4f4a13 100644
--- a/src/blind-flip.c
+++ b/src/blind-flip.c
@@ -21,7 +21,7 @@ main(int argc, char *argv[])
while (eread_frame(&stream, buf))
for (ptr = stream.frame_size; ptr;)
ewriteall(STDOUT_FILENO, buf + (ptr -= stream.row_size),
- stream.row_size, "<stdout>");
+ stream.row_size, "<stdout>");
/* ewriteall is faster than writev(3) and vmsplice(3) */
free(buf);