From: Radosław Korzeniewski Date: Mon, 7 Dec 2020 16:15:25 +0000 (+0100) Subject: pluginlib: Update PTCOMM. X-Git-Tag: Release-11.3.2~742 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=945c3de797b66fbe6213753d73b9dc7c15a2e0ab;p=thirdparty%2Fbacula.git pluginlib: Update PTCOMM. --- diff --git a/bacula/src/plugins/fd/pluginlib/ptcomm.h b/bacula/src/plugins/fd/pluginlib/ptcomm.h index b0620c065..2f7260fbe 100644 --- a/bacula/src/plugins/fd/pluginlib/ptcomm.h +++ b/bacula/src/plugins/fd/pluginlib/ptcomm.h @@ -185,7 +185,7 @@ public: * * @return int backend PID - when backend available; -1 - when backend is unavailable */ - int get_backend_pid() { return (bpipe != NULL) ? bpipe->worker_pid : -1; } + inline int get_backend_pid() { return bpipe != NULL ? bpipe->worker_pid : -1; } /** * @brief Sets a BPIPE object for our main communication channel.