Re: Miscellaneous diffs
Aarno Syvänen <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Does anyone object me committing these bugfixes ? They seem to be quite important. Aarno On 20.1.2004, at 12:23, Paul Bagyenda wrote: > Hi, > > Over time I've made some changes to some of the kannel libraries that > I thought I might contribute for inclusion into the current CVS. > Attached is a unified diff of these against the latest CVS. > > Short explanation: > > 1. date.c - The function for making iso dates seems to have not been > outputing these right, hence causing errors in some applications that > depends on this. > Small fix. Check it out and let me know if it has issues. > 2. mime.[ch] - several changes: > - Making the mime boundary string a bit more 'safe': Added random > numbers and chars to it. > - When converting Octstr * to MIMEEntity *, a safer way to detect if > each mime entity ends with \r\n or just \n > - Corrected mis-spelling in comment. > 3. wsp_headers.[ch] - Various changes > - Exposed a few more functions (i.e. changed from static) as they > are useful in other applications. Added wsp_ prefix to these. > - Detection of WSP_QUOTE and '"' as well in wsp_field_value(). At > least one application barfed on this as it produced quote literal > - wsp_strip_parameters was not dealing correctly with " enclosed > values. Kept getting stray " at the beginning. > > > These work well for me. > <gateway.diffs.txt>