[Asterisk-cvs] asterisk/apps app_intercom.c,1.6,1.7
markster at lists.digium.com
markster at lists.digium.com
Tue Oct 21 21:44:32 CDT 2003
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv1618/apps
Modified Files:
app_intercom.c
Log Message:
Make getaddrfor work with openbsd (bug #415)
Index: app_intercom.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_intercom.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- app_intercom.c 21 Oct 2003 02:57:29 -0000 1.6
+++ app_intercom.c 22 Oct 2003 03:10:34 -0000 1.7
@@ -35,7 +35,11 @@
#endif
#include <netinet/in.h>
+#ifdef __OpenBSD__
+#define DEV_DSP "/dev/audio"
+#else
#define DEV_DSP "/dev/dsp"
+#endif
/* Number of 32 byte buffers -- each buffer is 2 ms */
#define BUFFER_SIZE 32
More information about the svn-commits
mailing list