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.
49
2006/
01
/
02
02
:
56
:
01
nilsson
Exp $
+
|| $Id: roxen.c,v 1.
50
2006/
11
/
10
13
:
35
:
34
per
Exp $
*/ #define NO_PIKE_SHORTHAND #include "global.h" #include "config.h" #include "machine.h"
pike.git/src/modules/_Roxen/roxen.c:212:
/* Join partial header values. */ f_add(val_cnt); } if((tmp = low_mapping_lookup(headers, Pike_sp-2))) { if( tmp->type == PIKE_T_ARRAY ) { f_aggregate( 1 ); ref_push_array(tmp->u.array);
+
stack_swap();
map_delete(headers, Pike_sp-3); f_add(2); } else { ref_push_string(tmp->u.string); stack_swap(); map_delete(headers, Pike_sp-3); f_aggregate(2); } } mapping_insert(headers, Pike_sp-2, Pike_sp-1);