Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4739 - trunk/src/core

Anonymous User
July 03, 2012 09:08AM
Author: ru
Date: 2012-07-03 13:06:40 +0000 (Tue, 03 Jul 2012)
New Revision: 4739
URL: http://trac.nginx.org/nginx/changeset/4739/nginx

Log:
Fixed typo in a function name.


Modified:
trunk/src/core/ngx_shmtx.c
trunk/src/core/ngx_shmtx.h

Modified: trunk/src/core/ngx_shmtx.c
===================================================================
--- trunk/src/core/ngx_shmtx.c 2012-07-03 13:05:18 UTC (rev 4738)
+++ trunk/src/core/ngx_shmtx.c 2012-07-03 13:06:40 UTC (rev 4739)
@@ -44,7 +44,7 @@


void
-ngx_shmtx_destory(ngx_shmtx_t *mtx)
+ngx_shmtx_destroy(ngx_shmtx_t *mtx)
{
#if (NGX_HAVE_POSIX_SEM)

@@ -208,7 +208,7 @@
return NGX_OK;
}

- ngx_shmtx_destory(mtx);
+ ngx_shmtx_destroy(mtx);
}

mtx->fd = ngx_open_file(name, NGX_FILE_RDWR, NGX_FILE_CREATE_OR_OPEN,
@@ -232,7 +232,7 @@


void
-ngx_shmtx_destory(ngx_shmtx_t *mtx)
+ngx_shmtx_destroy(ngx_shmtx_t *mtx)
{
if (ngx_close_file(mtx->fd) == NGX_FILE_ERROR) {
ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, ngx_errno,

Modified: trunk/src/core/ngx_shmtx.h
===================================================================
--- trunk/src/core/ngx_shmtx.h 2012-07-03 13:05:18 UTC (rev 4738)
+++ trunk/src/core/ngx_shmtx.h 2012-07-03 13:06:40 UTC (rev 4739)
@@ -39,7 +39,7 @@

ngx_int_t ngx_shmtx_create(ngx_shmtx_t *mtx, ngx_shmtx_sh_t *addr,
u_char *name);
-void ngx_shmtx_destory(ngx_shmtx_t *mtx);
+void ngx_shmtx_destroy(ngx_shmtx_t *mtx);
ngx_uint_t ngx_shmtx_trylock(ngx_shmtx_t *mtx);
void ngx_shmtx_lock(ngx_shmtx_t *mtx);
void ngx_shmtx_unlock(ngx_shmtx_t *mtx);

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

[nginx] svn commit: r4739 - trunk/src/core

Anonymous User 1010 July 03, 2012 09:08AM



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

Online Users

Guests: 119
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