pike.git
/
src
/
modules
/
_Roxen
/
roxen.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/modules/_Roxen/roxen.c:310:
*! @param no_fold *! If true the parser will not parse folded headers. Instead the *! first line of the header will be parsed as normal and any *! subsequent lines ignored (or casue an exception if throw_errors *! is set). */ { INT_TYPE throw_errors = 0; INT_TYPE keep_case = 0; INT_TYPE no_fold = 0;
-
get_all_args(
"create"
,args,".%i%i%i", &throw_errors, &keep_case, &no_fold);
+
get_all_args(
NULL
,args,".%i%i%i", &throw_errors, &keep_case, &no_fold);
pop_n_elems(args); if (THP->headers) { free(THP->headers); THP->headers = NULL; } THP->mode = 0; if(throw_errors) THP->mode |= FLAG_THROW_ERROR; if(keep_case) THP->mode |= FLAG_KEEP_CASE;
pike.git/src/modules/_Roxen/roxen.c:685:
*! *! Returns @expr{str@} XOR @expr{mask@}. */ static void f_websocket_mask( INT32 args ) { struct pike_string *str, *mask, *ret; const unsigned char *src; unsigned char * restrict dst; size_t len; unsigned INT32 m;
-
get_all_args(
"websocket_mask"
, args, "%n%n", &str, &mask);
+
get_all_args(
NULL
, args, "%n%n", &str, &mask);
if (mask->len != 4) Pike_error("Wrong mask length.\n"); ret = begin_shared_string(str->len); len = str->len; m = get_unaligned32(STR0(mask)); dst = STR0(ret); src = STR0(str);