]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
pluginlib: PTCOMM allow to be used with CommCTX.
authorRadosław Korzeniewski <radekk@inteos.pl>
Mon, 4 Jan 2021 13:10:11 +0000 (14:10 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:00 +0000 (09:03 +0100)
bacula/src/plugins/fd/pluginlib/ptcomm.h

index 4a4e182760c963d7855a7ffc8cfd6a014df66fe8..561418a73c99745dfa39e5a81716fefba87e6576 100644 (file)
@@ -92,7 +92,7 @@ protected:
    int32_t sendbackend(bpContext *ctx, char cmd, POOLMEM *buf, int32_t len);
 
 public:
-   PTCOMM() :
+   PTCOMM(const char * command = NULL) :
       bpipe(NULL),
       rfd(0),
       wfd(0),