[EXIM] Token handling patch for exim

Top Page
Delete this message
Reply to this message
Author: Nigel Metheringham
Date:  
To: Philip Hazel
CC: exim-users
Subject: [EXIM] Token handling patch for exim

ph10@??? said:
} This will be easier once Nigel Metheringham's new operator to pick out
} a delimited field is available.

OK, here is the patch at present. It is lightly tested - it does what I
want in basic testing, but I have not checked (for example) that the other
extract function still works :-)

Does everything that exim runs on have a strtok function?? If not I can
rewrite to a more basic config (might even gain some speed). A quick read
over it also shows that I am free-ing the returned text even though it is
a sub-part of the original string which is also free-ed. Or to put it
another way this is not yet a prime time function but pretty much works.

I'll put out a fixed version later, but if anyone tests this I would love
to hear any comments

    Nigel.
-- 
[ Nigel.Metheringham@???   -  Systems Software Engineer ]
[ Tel : +44 113 251 6012                   Fax : +44 113 234 6065 ]
[      Real life is but a pale imitation of a Dilbert strip       ]




--
*** Exim information can be found at http://www.exim.org/ ***