[Asterisk-cvs] asterisk ChangeLog,1.61.2.1,1.61.2.2 asterisk.c,1.51.2.14,1.51.2.15

markster at lists.digium.com markster at lists.digium.com
Thu Apr 22 01:08:05 CDT 2004


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv21525

Modified Files:
      Tag: v1-0_stable
	ChangeLog asterisk.c 
Log Message:
Little tiny fix


Index: ChangeLog
===================================================================
RCS file: /usr/cvsroot/asterisk/ChangeLog,v
retrieving revision 1.61.2.1
retrieving revision 1.61.2.2
diff -u -d -r1.61.2.1 -r1.61.2.2
--- ChangeLog	13 Mar 2004 05:50:44 -0000	1.61.2.1
+++ ChangeLog	22 Apr 2004 05:12:50 -0000	1.61.2.2
@@ -1,4 +1,5 @@
 Asterisk 0.9.0
+ -- Logging fixes
  -- Fixes from the bug tracker
  -- ADPCM Standardization
  -- Branch to Stable CVS

Index: asterisk.c
===================================================================
RCS file: /usr/cvsroot/asterisk/asterisk.c,v
retrieving revision 1.51.2.14
retrieving revision 1.51.2.15
diff -u -d -r1.51.2.14 -r1.51.2.15
--- asterisk.c	22 Apr 2004 00:50:10 -0000	1.51.2.14
+++ asterisk.c	22 Apr 2004 05:12:50 -0000	1.51.2.15
@@ -1551,10 +1551,10 @@
 struct hostent *ast_gethostbyname(const char *host, struct ast_hostent *hp)
 {
 	int res;
-	int h_errno;
+	int herrno;
 	struct hostent *result = NULL;
 	/* XXX Does BSD do this differently? XXX */
-	res = gethostbyname_r(host, &hp->hp, hp->buf, sizeof(hp->buf), &result, &h_errno);
+	res = gethostbyname_r(host, &hp->hp, hp->buf, sizeof(hp->buf), &result, &herrno);
 	if (res)
 		return NULL;
 	return &hp->hp;




More information about the svn-commits mailing list