aboutsummaryrefslogtreecommitdiffstats
path: root/src/servers/crtc.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-08-03 21:48:21 +0200
committerMattias Andrée <maandree@kth.se>2016-08-03 21:48:21 +0200
commitbe2253d7dd6a5e71719858ddc1479e57a79834a8 (patch)
tree98d833075989488d6bdaf5bcd9ccbab3b86c9a94 /src/servers/crtc.c
parentbug fixes (diff)
downloadcoopgammad-be2253d7dd6a5e71719858ddc1479e57a79834a8.tar.gz
coopgammad-be2253d7dd6a5e71719858ddc1479e57a79834a8.tar.bz2
coopgammad-be2253d7dd6a5e71719858ddc1479e57a79834a8.tar.xz
Fix bugs
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/servers/crtc.c')
-rw-r--r--src/servers/crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/servers/crtc.c b/src/servers/crtc.c
index 5facade..bc3b51b 100644
--- a/src/servers/crtc.c
+++ b/src/servers/crtc.c
@@ -43,7 +43,7 @@ int handle_enumerate_crtcs(size_t conn, const char* restrict message_id)
for (i = 0; i < outputs_n; i++)
n += strlen(outputs[i].name) + 1;
- MAKE_MESSAGE(&buf, &n, 0,
+ MAKE_MESSAGE(&buf, &n, n,
"Command: crtc-enumeration\n"
"In response to: %s\n"
"Length: %zu\n"