From 4d656dcd0bd6309b0ec76fc444198ed6c2948a8e Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 22 Mar 2005 16:02:46 +0000 Subject: nginx-0.1.26-RELEASE import *) Change: the invalid client header lines are now ignored and logged at the info level. *) Change: the server name is also logged in error log. *) Feature: the ngx_http_auth_basic_module module and the auth_basic and auth_basic_user_file directives. --- src/core/ngx_string.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/ngx_string.h') diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h index 25b06b3f6..24a237903 100644 --- a/src/core/ngx_string.h +++ b/src/core/ngx_string.h @@ -74,8 +74,8 @@ typedef struct { u_char *ngx_cpystrn(u_char *dst, u_char *src, size_t n); u_char *ngx_pstrdup(ngx_pool_t *pool, ngx_str_t *src); -u_char *ngx_sprintf(u_char *buf, const char *fmt, ...); -u_char *ngx_snprintf(u_char *buf, size_t max, const char *fmt, ...); +u_char * ngx_cdecl ngx_sprintf(u_char *buf, const char *fmt, ...); +u_char * ngx_cdecl ngx_snprintf(u_char *buf, size_t max, const char *fmt, ...); u_char *ngx_vsnprintf(u_char *buf, size_t max, const char *fmt, va_list args); ngx_int_t ngx_rstrncmp(u_char *s1, u_char *s2, size_t n); -- cgit