struct vpn_connection *connection = vpn_get_connection(name, host, domain);
if (connection == NULL) {
- VPN_LOG(VPN_ERROR, "name=%s host=%s domain=%s", name, host, domain);
+ VPN_LOG(VPN_ERROR, "name=%s host=%s domain=%s", name, host, domain ? domain : "NULL");
return VPN_ERROR_INVALID_PARAMETER;
}