Revision: 8817
http://playerstage.svn.sourceforge.net/playerstage/?rev=8817&view=rev
Author: jpgr87
Date: 2010-07-08 02:35:16 +0000 (Thu, 08 Jul 2010)
Log Message:
-----------
Fixed bug #2990684: Player 3.0.1 Festival driver fails
Modified Paths:
--------------
code/player/trunk/server/drivers/speech/festival.cc
Modified: code/player/trunk/server/drivers/speech/festival.cc
===================================================================
--- code/player/trunk/server/drivers/speech/festival.cc 2010-07-08 02:24:58 UTC
(rev 8816)
+++ code/player/trunk/server/drivers/speech/festival.cc 2010-07-08 02:35:16 UTC
(rev 8817)
@@ -292,7 +292,10 @@
server.sin_port = htons(portnum);
#if HAVE_GETADDRINFO
struct addrinfo* addr_ptr = NULL;
- if (getaddrinfo(host, NULL, NULL, &addr_ptr))
+ struct addrinfo addr_hint;
+ memset(&addr_hint,0,sizeof(addr_hint));
+ addr_hint.ai_family = AF_INET;
+ if (getaddrinfo(host, NULL, &addr_hint, &addr_ptr))
{
PLAYER_ERROR("getaddrinfo() failed with error");
KillFestival();
@@ -560,3 +563,5 @@
/* don't know how to tell the Festival server to exit yet, so Kill */
sd->KillFestival();
}
+
+
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit