aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_conf_file.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-01-05 20:55:48 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-01-05 20:55:48 +0000
commit3c3ca1735815a4e495922b50b01a258016c93d4b (patch)
tree55ab881e478c8ead90652850135d3f083a7e9772 /src/core/ngx_conf_file.c
parentfa5fea18f7b0f6d024d5a814d34c778b6792abdb (diff)
downloadnginx-3c3ca1735815a4e495922b50b01a258016c93d4b.tar.gz
nginx-3c3ca1735815a4e495922b50b01a258016c93d4b.zip
nginx-0.0.1-2004-01-05-23:55:48 import
Diffstat (limited to 'src/core/ngx_conf_file.c')
-rw-r--r--src/core/ngx_conf_file.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c
index 249239072..704365c6a 100644
--- a/src/core/ngx_conf_file.c
+++ b/src/core/ngx_conf_file.c
@@ -571,6 +571,13 @@ char *ngx_conf_set_core_flag_slot(ngx_conf_t *cf, ngx_command_t *cmd,
}
+char *ngx_conf_set_core_str_slot(ngx_conf_t *cf, ngx_command_t *cmd,
+ void *conf)
+{
+ return ngx_conf_set_str_slot(cf, cmd, *(void **)conf);
+}
+
+
char *ngx_conf_set_flag_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
{
char *p = conf;