[Asterisk-cvs] asterisk/apps app_cdr.c,1.2,1.3 app_hasnewvoicemail.c,1.1,1.2

markster at lists.digium.com markster at lists.digium.com
Mon Sep 29 15:12:43 CDT 2003


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

Modified Files:
	app_cdr.c app_hasnewvoicemail.c 
Log Message:
Change strdupa's to ast_strupda's


Index: app_cdr.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_cdr.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- app_cdr.c	18 Sep 2003 21:52:01 -0000	1.2
+++ app_cdr.c	29 Sep 2003 20:13:54 -0000	1.3
@@ -11,6 +11,7 @@
  * the GNU General Public License
  */
 
+#include <sys/types.h>
 #include <asterisk/channel.h>
 #include <asterisk/module.h>
 #include <asterisk/pbx.h>

Index: app_hasnewvoicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_hasnewvoicemail.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- app_hasnewvoicemail.c	26 Sep 2003 03:39:58 -0000	1.1
+++ app_hasnewvoicemail.c	29 Sep 2003 20:13:54 -0000	1.2
@@ -28,6 +28,7 @@
  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include <sys/types.h>
 #include <asterisk/file.h>
 #include <asterisk/logger.h>
 #include <asterisk/channel.h>
@@ -37,7 +38,6 @@
 #include <unistd.h>
 #include <string.h>
 #include <stdlib.h>
-#include <sys/types.h>
 #include <dirent.h>
 
 #include <pthread.h>
@@ -70,7 +70,7 @@
 	}
 	LOCAL_USER_ADD(u);
 
-	input = strdupa((char *)data);
+	input = ast_strdupa((char *)data);
 	if (input) {
 		if ((vmbox = strsep(&input,"|")))
 			varname = input;




More information about the svn-commits mailing list