blob: a0efc69257e9a94de9afe36c377bc0a1f08c0b93 [file] [log] [blame]
/*
* 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