summaryrefslogtreecommitdiff
path: root/server/src/queryhandlerpentominos.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/queryhandlerpentominos.cc')
-rw-r--r--server/src/queryhandlerpentominos.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/src/queryhandlerpentominos.cc b/server/src/queryhandlerpentominos.cc
index c52b36c..62a742f 100644
--- a/server/src/queryhandlerpentominos.cc
+++ b/server/src/queryhandlerpentominos.cc
@@ -157,7 +157,7 @@ QueryResult QueryHandlerPentominos::exec(Query &query)
socket.write(header, strlen(header));
#endif/*WITHOUT_PENTOMINOS*/
- PRACRO_DEBUG(queryhandler, header);
+ PRACRO_DEBUG(queryhandler, "%s", header);
sprintf(buf, " <pentominos:entry replyformat=\"xml\"\n"
" cpr=\"%s\"\n"
@@ -181,7 +181,7 @@ QueryResult QueryHandlerPentominos::exec(Query &query)
socket.write(buf, strlen(buf));
#endif/*WITHOUT_PENTOMINOS*/
- PRACRO_DEBUG(queryhandler, buf);
+ PRACRO_DEBUG(queryhandler, "%s", buf);
sprintf(buf, " <pentominos:query device_id=\"%s\"\n"
" device_type=\"%s\"\n"
@@ -194,7 +194,7 @@ QueryResult QueryHandlerPentominos::exec(Query &query)
socket.write(buf, strlen(buf));
#endif/*WITHOUT_PENTOMINOS*/
- PRACRO_DEBUG(queryhandler, buf);
+ PRACRO_DEBUG(queryhandler, "%s", buf);
sprintf(buf, "</artefact>");
@@ -202,7 +202,7 @@ QueryResult QueryHandlerPentominos::exec(Query &query)
socket.write(buf, strlen(buf));
#endif/*WITHOUT_PENTOMINOS*/
- PRACRO_DEBUG(queryhandler, buf);
+ PRACRO_DEBUG(queryhandler, "%s", buf);
QueryResult result;