diff options
author | deva <deva> | 2009-12-18 08:45:12 +0000 |
---|---|---|
committer | deva <deva> | 2009-12-18 08:45:12 +0000 |
commit | 2f0bf2d0af5b9b749e6e195829fb7093fc8ab930 (patch) | |
tree | 37374c59ad77b30477929bf89689ac3c1645f792 /server/src/queryhandlerpentominos.cc | |
parent | 817072bf0ae27484394a77a016cfe07b35885b8a (diff) |
Fix compiler warnings "format not a string literal and no format arguments". Actually exposed a bug in luaresume.cc
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; |