summaryrefslogtreecommitdiff
path: root/src/server.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.cc')
-rw-r--r--src/server.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cc b/src/server.cc
index 34aac7b..3655d33 100644
--- a/src/server.cc
+++ b/src/server.cc
@@ -86,7 +86,7 @@ void newConnection(Socket *socket, Info *info)
frame->mute = h.header.h_data.mute;
if(!hasCpr) {
- sprintf(cpr, h.header.h_data.cpr);
+ sprintf(cpr, "%s", h.header.h_data.cpr);
hasCpr = true;
}