[OpenSER-Docs] AVPOPS documentation bug - maybe

Henning Westerholt henning.westerholt at 1und1.de
Mon Jun 9 13:40:48 CEST 2008


On Thursday 05 June 2008, Johansson Olle E wrote:
> >> The avpops module doesn't document if there's any return codes on the
> >> database-related operations. I do hope there is, so I can figure out
> >> if the database operation worked or not...
> >
> > Hi Olle,
> >
> > have you tried it? ;-) I did a quick look to the source, it seems
> > that '-1' is
> > returned if an error occured.
>
> It does, I saw that too after checking the source. But the docs fail
> to mention it...

Hi Olle,

i think that most functions return '-1' in case of an error, but i'm not sure 
how many document this. Adding a statement to every available module function 
is probably not the best way of dealing with this issue. Any idea where this 
could be documented instead?

Henning





More information about the sr-docs mailing list