> -----Original Message-----
> From: Stipe Tolj [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 11, 2002 6:38 PM
> To: Oded Arbel
> Cc: Kannel-devel (E-mail)
> Subject: Re: [PATCH] Octstr function call sometime barf when
> called with NULL data
>
>
> > While some Octstr functions handle NULLs gracefully, others
> (especially the formating ones) do not behave so
> gentlemen-like. this patch will cause NULLs received instead
> of Octstr* in some cases not to panic the box but instead be
> handled in a predictable manner.
>
> again -1 for this, sorry Oded.
>
> The <NULL> returns are very dangerious for functions that deal with
> XML output and hence you dump a null'ed Octstr as "<NULL>" cstr which
> oviously will break XML structures and semantics.
Ok - you are correct here too :-). how about using (NULL) or [NULL] instead ?
--
Oded Arbel
m-Wise mobile solutions
[EMAIL PROTECTED]
+972-9-9581711 (116)
+972-67-340014
::..
"$HOME is where your dotfiles are"
-- Gym Quirk