view src/os/win32/ngx_dlopen.c @ 8659:d9f673d18e9b quic

QUIC: set the temporary flag for input frame buffers. Missing flag prevented frame data from being copied as the buffer was not considered a memory buffer.
author Roman Arutyunyan <arut@nginx.com>
date Tue, 08 Dec 2020 14:44:41 +0000
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;
}