diff options
author | deva <deva> | 2010-02-12 13:53:00 +0000 |
---|---|---|
committer | deva <deva> | 2010-02-12 13:53:00 +0000 |
commit | c44cc1989fe1b4cd94c115fb9a62b73afc46e62f (patch) | |
tree | 880523c9e8be8c4c43498faf5c3fe8bdb1798cda /server/src/queryhandlerpentominos.cc | |
parent | 305ddf3bdb16177420f480b006550508174a734e (diff) |
Fix compiler warnings.
Diffstat (limited to 'server/src/queryhandlerpentominos.cc')
-rw-r--r-- | server/src/queryhandlerpentominos.cc | 8 |
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; |