pike.git
/
src
/
modules
/
_Roxen
/
roxen.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/modules/_Roxen/roxen.c:1:
/* || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: roxen.c,v 1.
32
2002
/
10
/
21
17
:
06
:
25
marcus
Exp $
+
|| $Id: roxen.c,v 1.
33
2003
/
03
/
14
15
:
57
:
49
grubba
Exp $
*/ #define NO_PIKE_SHORTHAND #include "global.h" #include "config.h" #include "machine.h"
pike.git/src/modules/_Roxen/roxen.c:193:
if (val_cnt > 1) { /* Join partial header values. */ f_add(val_cnt); } if((tmp = low_mapping_lookup(headers, Pike_sp-2))) { f_aggregate( 1 ); if( tmp->type == PIKE_T_ARRAY ) {
-
tmp->u.array->refs++;
-
push_array(tmp->u.array);
+
ref_
push_array(tmp->u.array);
map_delete(headers, Pike_sp-3); f_add(2); } else {
-
tmp->u.string->refs++;
-
push_string(tmp->u.string);
+
ref_
push_string(tmp->u.string);
f_aggregate(1); map_delete(headers, Pike_sp-3); f_add(2); } } mapping_insert(headers, Pike_sp-2, Pike_sp-1); pop_n_elems(2); } }