On 28/04/14 10:51, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
I guess the $hdr(X[*]) uses comma-space for separation (haven't checked
the sources). In your example, the second header test has two values in
one line and $hdr(...) is simply returning all of them.
since there is no ne
Juha Heinanen writes:
> are used all over the place and it would thus not be a good idea to edit
> them. perhaps adding a new ones:
>
> #define PV_HDR_DELIM ", "
> #define PV_HDR_DELIM_LEN (sizeof(PV_HDR_DELIM) - 1)
>
> would be ok.
in the above ", " should, of course, have been ",".
-- juha
Daniel-Constantin Mierla writes:
> >> I guess the $hdr(X[*]) uses comma-space for separation (haven't checked
> >> the sources). In your example, the second header test has two values in
> >> one line and $hdr(...) is simply returning all of them.
> > since there is no need for space, it should no
On 28/04/14 09:49, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
I guess the $hdr(X[*]) uses comma-space for separation (haven't checked
the sources). In your example, the second header test has two values in
one line and $hdr(...) is simply returning all of them.
since there is no ne
Daniel-Constantin Mierla writes:
> I guess the $hdr(X[*]) uses comma-space for separation (haven't checked
> the sources). In your example, the second header test has two values in
> one line and $hdr(...) is simply returning all of them.
since there is no need for space, it should not be there
On 25/04/14 16:15, Juha Heinanen wrote:
Juha Heinanen writes:
wiki was this related to $(hdr(name)[N]):
If [N] is omitted then the body of the first header is printed. The
first header is got when N=0, for the second N=1, a.s.o. In case of a
comma-separated multi-body headers, it ret
On 24/04/14 16:10, Juha Heinanen wrote:
wiki was this related to $(hdr(name)[N]):
If [N] is omitted then the body of the first header is printed. The
first header is got when N=0, for the second N=1, a.s.o. In case of a
comma-separated multi-body headers, it returns all the bodies,
Juha Heinanen writes:
> wiki was this related to $(hdr(name)[N]):
>
> If [N] is omitted then the body of the first header is printed. The
> first header is got when N=0, for the second N=1, a.s.o. In case of a
> comma-separated multi-body headers, it returns all the bodies,
> comma-separa
wiki was this related to $(hdr(name)[N]):
If [N] is omitted then the body of the first header is printed. The
first header is got when N=0, for the second N=1, a.s.o. In case of a
comma-separated multi-body headers, it returns all the bodies,
comma-separated.
i don't understand the last s