- if (0 != get_certificate_path(STORED_SERVER_CERT_FORMAT,
- hostname, path, size)) {
- LOG_PERROR(LOG_ERROR,
- "server_certificate_file(): failed to get path");
+ if (get_certificate_path(STORED_SERVER_CERT_FORMAT,
+ hostname, path, size) != 0) {
+ LOG_PERROR(ERROR, "server_certificate_file(): failed to get path");