Imported Upstream version 2.5.1p3
[debian/amanda] / common-src / protocol.c
index c997f3c27c79a33269f250b6c98d8b52a8d0dd10..077e34e178b498a3f8e05f9244a21b1edd559735 100644 (file)
@@ -24,7 +24,7 @@
  * file named AUTHORS, in the root directory of this distribution.
  */
 /*
- * $Id: protocol.c,v 1.45 2006/05/25 17:07:31 martinea Exp $
+ * $Id: protocol.c,v 1.45.2.2 2006/12/18 20:43:51 martinea Exp $
  *
  * implements amanda protocol
  */
@@ -607,7 +607,7 @@ s_repwait(
        return (PA_PENDING);
 
     if(pkt->type == P_REP) {
-       pkt_init(&ack, P_ACK, "");
+       pkt_init_empty(&ack, P_ACK);
        if (security_sendpkt(p->security_handle, &ack) < 0) {
            /* XXX should retry */
            amfree(ack.body);