Imported Upstream version 2.6.1
[debian/amanda] / common-src / protocol.c
index da587042749e6679fc4150c9c150783612291259..3cad500f71b56e16d881f7998eeac56a24993f7f 100644 (file)
@@ -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