[Asterisk-cvs] asterisk-addons mysql-vm-routines.h,1.3,1.4
markster at lists.digium.com
markster at lists.digium.com
Wed Apr 28 16:40:30 CDT 2004
Update of /usr/cvsroot/asterisk-addons
In directory mongoose.digium.com:/tmp/cvs-serv11696
Modified Files:
mysql-vm-routines.h
Log Message:
Default context to "default" in VM routines
Index: mysql-vm-routines.h
===================================================================
RCS file: /usr/cvsroot/asterisk-addons/mysql-vm-routines.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- mysql-vm-routines.h 27 Jan 2004 15:29:54 -0000 1.3
+++ mysql-vm-routines.h 28 Apr 2004 20:47:07 -0000 1.4
@@ -44,7 +44,8 @@
if (retval) {
*retval->mailbox='\0';
- *retval->context='\0';
+ memset(retval->context, 0, sizeof(retval->context));
+ strncpy(retval->context, "default", sizeof(retval->context) - 1);
*retval->password='\0';
*retval->fullname='\0';
*retval->email='\0';
More information about the svn-commits
mailing list