[OpenSER-Devel] null socket crash

Henning Westerholt henning.westerholt at 1und1.de
Fri Oct 12 08:56:41 CEST 2007


On Friday 12 October 2007, Juha Heinanen wrote:
> Henning Westerholt writes:
>  > you're right, there should be a test in socket2str. If the socket is
>  > null, we should return -1 and log a Error, like in the other datatype
>  > conversion functions.
>
> i feel that since null socket is ok, we should instead return an empty
> str.

Yes, this is better. I was still somewhat asleep. ;)

Henning



More information about the Devel mailing list