[asterisk-commits] mogorman: branch anthonyl/voicemail-odbc r49351 - /team/anthonyl/voicemail-od...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jan 3 15:44:34 MST 2007


Author: mogorman
Date: Wed Jan  3 16:44:33 2007
New Revision: 49351

URL: http://svn.digium.com/view/asterisk?view=rev&rev=49351
Log:
one more missed whitespace and fixed some compiler warnings, now to make sure it works.

Modified:
    team/anthonyl/voicemail-odbc/apps/app_voicemail.c

Modified: team/anthonyl/voicemail-odbc/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/team/anthonyl/voicemail-odbc/apps/app_voicemail.c?view=diff&rev=49351&r1=49350&r2=49351
==============================================================================
--- team/anthonyl/voicemail-odbc/apps/app_voicemail.c (original)
+++ team/anthonyl/voicemail-odbc/apps/app_voicemail.c Wed Jan  3 16:44:33 2007
@@ -1947,7 +1947,7 @@
 
 	snprintf(fn, sizeof(fn), "%s%s/%s/greet", VM_SPOOL_DIR, context, ext);
 
-	if (!(res = create_dirpath(&dest,1024,context,ext,"greet"))) {
+	if (!(res = create_dirpath(dest,1024,context,ext,"greet"))) {
 		ast_log(LOG_WARNING, "Failed to make directory(%s)\n", fn);
 		return -1;
 	}
@@ -2443,14 +2443,14 @@
 	else
 		ast_copy_string(ext_context, vmu->context, sizeof(ext_context));
 	if (ast_test_flag(options, OPT_BUSY_GREETING)) {
-		res = create_dirpath(&dest, 1024, vmu->context, ext, "busy");
+		res = create_dirpath(dest, 1024, vmu->context, ext, "busy");
 		snprintf(prefile, sizeof(prefile), "%s%s/%s/busy", VM_SPOOL_DIR, vmu->context, ext);
 	} else if (ast_test_flag(options, OPT_UNAVAIL_GREETING)) {
-		res = create_dirpath(&dest, 1024, vmu->context, ext, "unavail");
+		res = create_dirpath(dest, 1024, vmu->context, ext, "unavail");
 		snprintf(prefile, sizeof(prefile), "%s%s/%s/unavail", VM_SPOOL_DIR, vmu->context, ext);
 	}
 	snprintf(tempfile, sizeof(tempfile), "%s%s/%s/temp", VM_SPOOL_DIR, vmu->context, ext);
-	if (!(res=create_dirpath(&dest, 1024, vmu->context, ext, "temp"))) {
+	if (!(res = create_dirpath(dest, 1024, vmu->context, ext, "temp"))) {
 		ast_log(LOG_WARNING, "Failed to make directory (%s)\n", tempfile);
 		return -1;
 	}
@@ -3457,7 +3457,7 @@
 	char username[70]="";
 	int res = 0, cmd = 0;
 	struct ast_vm_user *receiver = NULL, *extensions = NULL, *vmtmp = NULL, *vmfree;
-	char *stringp, *s, *dest;
+	char *stringp, *s;
 	int saved_messages = 0, found = 0;
 	int valid_extensions = 0;
 	
@@ -4822,7 +4822,7 @@
 		adsi_transmit_message(chan, buf, bytes, ADSI_MSG_DISPLAY);
 	}
 	snprintf(prefile,sizeof(prefile), "%s%s/%s/temp", VM_SPOOL_DIR, vmu->context, vms->username);
-	if (!(res = create_dirpath(&dest, 1024, vmu->context, vms->username, "temp"))) {
+	if (!(res = create_dirpath(dest, 1024, vmu->context, vms->username, "temp"))) {
 		ast_log(LOG_WARNING, "Failed to create directory (%s).\n", prefile);
 		return -1;
 	}



More information about the asterisk-commits mailing list