[Asterisk-cvs] asterisk/apps app_sms.c,1.9,1.10

markster at lists.digium.com markster at lists.digium.com
Tue Aug 31 09:28:45 CDT 2004


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

Modified Files:
	app_sms.c 
Log Message:
Merge NetBSD and Courtesty tone with modifications (bug #2329)


Index: app_sms.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_sms.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- app_sms.c	26 Aug 2004 21:28:42 -0000	1.9
+++ app_sms.c	31 Aug 2004 13:32:11 -0000	1.10
@@ -203,7 +203,7 @@
 packdate (unsigned char *o, time_t w)
 {
   struct tm *t = localtime (&w);
-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__)
   int z = - t->tm_gmtoff / 3600 / 15;
 #else
   int z = timezone / 3600 / 15;




More information about the svn-commits mailing list