Re: Segfault
| From: | Sara Golemon | Date: | Thu, 15 Sep 2005 23:00:10 +0000 |
| Subject: | Re: Segfault | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19012@lists.php.net to get a copy of this message | ||
> 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