pike.git/
src/
modules/
_Roxen/
roxen.c
Branch:
Tag:
Non-build tags
All tags
No tags
2001-10-08
2001-10-08 06:09:21 by Per Hedbor <ph@opera.com>
5fc9217c906694dfbaa8484a68f35b7bf573babd (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Wide strings are not supported here.
Rev: src/modules/_Roxen/roxen.c:1.24
217:
if( k->ind.type != PIKE_T_STRING || k->ind.u.string->size_shift ) Pike_error("Wrong argument type to make_http_headers(" "mapping(string(8bit):string(8bit)|array(string(8bit))) heads)\n");
-
if( k->val.type == PIKE_T_STRING )
+
if( k->val.type == PIKE_T_STRING
&& !k->val.u.string->size_shift
)
total_len += k->val.u.string->len + 2 + k->ind.u.string->len + 2; else if( k->val.type == PIKE_T_ARRAY ) {