For some reason I can't malloc php_socket structs, and that's not where it
segfaults. The function works perfectly once. Then if I attempt to exit /
die or call that function again, it dies.
""Sara Golemon"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> >  new_sock->bsd_socket = accept(php_sock->bsd_socket, &sa, &salen);
> >
> In all liklihood it's that.
>
> Now.... In the nicest way possible, why don't I suggest that you CLEAN UP
> YOUR CODE NEXT TIME!?!?!  You might have noticed that new_sock isn't
alloc'd
> if it wern't for all the comments and flat-out bad code you've got in
there.
>
> Thank you for calling, next in line please.
>
> -Sara

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to