Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4694 - in trunk/src/os: unix win32

Anonymous User
June 18, 2012 10:14AM
Author: mdounin
Date: 2012-06-18 14:12:03 +0000 (Mon, 18 Jun 2012)
New Revision: 4694
URL: http://trac.nginx.org/nginx/changeset/4694/nginx

Log:
Fixed return type of ngx_strerror_init().


Modified:
trunk/src/os/unix/ngx_errno.c
trunk/src/os/unix/ngx_errno.h
trunk/src/os/win32/ngx_errno.c
trunk/src/os/win32/ngx_errno.h

Modified: trunk/src/os/unix/ngx_errno.c
===================================================================
--- trunk/src/os/unix/ngx_errno.c 2012-06-18 14:11:29 UTC (rev 4693)
+++ trunk/src/os/unix/ngx_errno.c 2012-06-18 14:12:03 UTC (rev 4694)
@@ -42,7 +42,7 @@
}


-ngx_uint_t
+ngx_int_t
ngx_strerror_init(void)
{
char *msg;

Modified: trunk/src/os/unix/ngx_errno.h
===================================================================
--- trunk/src/os/unix/ngx_errno.h 2012-06-18 14:11:29 UTC (rev 4693)
+++ trunk/src/os/unix/ngx_errno.h 2012-06-18 14:12:03 UTC (rev 4694)
@@ -69,7 +69,7 @@


u_char *ngx_strerror(ngx_err_t err, u_char *errstr, size_t size);
-ngx_uint_t ngx_strerror_init(void);
+ngx_int_t ngx_strerror_init(void);


#endif /* _NGX_ERRNO_H_INCLUDED_ */

Modified: trunk/src/os/win32/ngx_errno.c
===================================================================
--- trunk/src/os/win32/ngx_errno.c 2012-06-18 14:11:29 UTC (rev 4693)
+++ trunk/src/os/win32/ngx_errno.c 2012-06-18 14:12:03 UTC (rev 4694)
@@ -53,7 +53,7 @@
}


-ngx_uint_t
+ngx_int_t
ngx_strerror_init(void)
{
return NGX_OK;

Modified: trunk/src/os/win32/ngx_errno.h
===================================================================
--- trunk/src/os/win32/ngx_errno.h 2012-06-18 14:11:29 UTC (rev 4693)
+++ trunk/src/os/win32/ngx_errno.h 2012-06-18 14:12:03 UTC (rev 4694)
@@ -59,7 +59,7 @@


u_char *ngx_strerror(ngx_err_t err, u_char *errstr, size_t size);
-ngx_uint_t ngx_strerror_init(void);
+ngx_int_t ngx_strerror_init(void);


#endif /* _NGX_ERRNO_H_INCLUDED_ */

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4694 - in trunk/src/os: unix win32

Anonymous User 994 June 18, 2012 10:14AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 224
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready