view src/os/win32/ngx_dlopen.c @ 8918:606bf52888d2 quic

HTTP/3: adjusted ALPN macro names to align with 61abb35bb8cf.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 02 Dec 2021 13:59:09 +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>


char *
ngx_dlerror(void)
{
    u_char         *p;
    static u_char   errstr[NGX_MAX_ERROR_STR];

    p = ngx_strerror(ngx_errno, errstr, NGX_MAX_ERROR_STR);
    *p = '\0';

    return (char *) errstr;
}