Summary: | ASTERISK-01615: fixed return code for gethostbyname_r for FreeBSD | ||
Reporter: | rich (rich) | Labels: | |
Date Opened: | 2004-05-14 00:39:15 | Date Closed: | 2008-01-15 14:54:44.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) utils.c.diff | |
Description: | the return code should be 0 for success according to the linux man pages. This fixes runtime errors where chan_sip.c and chan_iax.c complain about ip addresses, etc. on FreeBSD 5.2.1. | ||
Comments: | By: Olle Johansson (oej) 2004-05-14 11:42:14 Agree with this. I've forgotten to upload a fix to this, been running like your patch on FreeBSD 4.9 for a while now. Thank you for your FreeBSD work, Rich! By: Mark Spencer (markster) 2004-05-15 00:51:35 Fixed in CVS By: Digium Subversion (svnbot) 2008-01-15 14:54:44.000-0600 Repository: asterisk Revision: 2966 U trunk/utils.c ------------------------------------------------------------------------ r2966 | markster | 2008-01-15 14:54:43 -0600 (Tue, 15 Jan 2008) | 2 lines Fix logic in gethostbyname_r (bug ASTERISK-1615) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=2966 |