summaryrefslogtreecommitdiff
path: root/src/server.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2011-10-27 15:50:11 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2011-10-27 15:50:11 +0200
commit29ae5ac36d4ffc520232ff393b2455130ec0227e (patch)
treef89f8a4f2e5d61bc20ba16d2ab46070190cb411d /src/server.cc
parentcaa558e59c248521d1d4ad483fe669828277664e (diff)
fix warnings/errors.
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;
}