]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/bnet.c
Correct Qmsg() that was not updated correctly when committing a
[bacula/bacula] / bacula / src / lib / bnet.c
index e874fcee4fb28231f00f402b97fe858285b77e2b..1412cb0f6e710801ec94a16618d957ccccc83449 100644 (file)
@@ -424,9 +424,9 @@ bool bnet_tls_client(TLS_CONTEXT *ctx, BSOCK * bsock, alist *verify_list)
     * certificate's CN. Otherwise, we use standard host/CN matching. */
    if (verify_list) {
       if (!tls_postconnect_verify_cn(tls, verify_list)) {
-         Qmsg1(bsock->jcr, M_FATAL, 0, _("TLS certificate verification failed."
+         Qmsg1(bsock->jcr(), M_FATAL, 0, _("TLS certificate verification failed."
                                          " Peer certificate did not match a required commonName\n"),
-                                         bsock->host);
+                                         bsock->host());
          goto err;
       }
    } else {