Revision
15253
Author
anthm
Date
2009-10-27 14:43:12 -0500 (Tue, 27 Oct 2009)

Log Message

reorder args

Modified Paths

Diff

Modified: freeswitch/trunk/src/switch_utils.c (15252 => 15253)


--- freeswitch/trunk/src/switch_utils.c	2009-10-27 19:19:07 UTC (rev 15252)
+++ freeswitch/trunk/src/switch_utils.c	2009-10-27 19:43:12 UTC (rev 15253)
@@ -585,9 +585,9 @@
 	}
 
 #ifdef WIN32
-	switch_snprintf(buf, B64BUFFLEN, "type %s | %s %s -f %s %s", filename, runtime.mailer_app, runtime.mailer_app_args, from, to);
+	switch_snprintf(buf, B64BUFFLEN, "type %s | %s -f %s %s %s", filename, runtime.mailer_app, from, runtime.mailer_app_args, to);
 #else
-	switch_snprintf(buf, B64BUFFLEN, "/bin/cat %s | %s %s -f %s %s", filename, runtime.mailer_app, runtime.mailer_app_args, from, to);
+	switch_snprintf(buf, B64BUFFLEN, "/bin/cat %s | %s -f %s %s %s", filename, runtime.mailer_app, from, runtime.mailer_app_args, to);
 #endif
 	if (switch_system(buf, SWITCH_TRUE) < 0) {
 		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Unable to execute command: %s\n", buf);