Thanks, my mistake :))
> Hi,
>
> why not just: Octsr *my_empty = octstr_create("");
>
> On Wednesday 10 September 2003 11:33, Yury Mikhienko wrote:
> > Hi, developers!
> >
> > I need to create an empty octstr, but do not see the necessary function (in
> > CVS kannel) :(( What is the meaning in inserting the following function
> > into the octstr.c Octstr *octstr_create_empty()
> > {
> > Octstr *ostr;
> >
> > ostr = gw_malloc(sizeof(*ostr));
> > ostr->len = 0;
> > ostr->size = 0;
> > ostr->data = NULL;
> >
> > ostr->immutable = 0;
> > seems_valid(ostr);
> >
> > return ostr;
> > }
>
--
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"