view src/os/unix/ngx_dlopen.c @ 8608:cbbe901c199d quic

QUIC: removed Firefox workaround for trailing zeroes in datagrams. This became unnecessary after discarding invalid packets since a6784cf32c13.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 09 Sep 2021 19:12:27 +0300
parents 7142b04337d6
children
line wrap: on
line source


/*
 * Copyright (C) Maxim Dounin
 * Copyright (C) Nginx, Inc.
 */


#include <ngx_config.h>
#include <ngx_core.h>


#if (NGX_HAVE_DLOPEN)

char *
ngx_dlerror(void)
{
    char  *err;

    err = (char *) dlerror();

    if (err == NULL) {
        return "";
    }

    return err;
}

#endif