X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Fprotocol.c;h=3cad500f71b56e16d881f7998eeac56a24993f7f;hb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;hp=da587042749e6679fc4150c9c150783612291259;hpb=fb2bd066c2f8b34addafe48d62550e3033a59431;p=debian%2Famanda diff --git a/common-src/protocol.c b/common-src/protocol.c index da58704..3cad500 100644 --- a/common-src/protocol.c +++ b/common-src/protocol.c @@ -159,7 +159,7 @@ protocol_sendreq( p->resettries = RESET_TRIES; p->reqtries = getconf_int(CNF_REQ_TRIES); p->conf_fn = conf_fn; - pkt_init(&p->req, P_REQ, req); + pkt_init(&p->req, P_REQ, "%s", req); /* * These are here for the caller