[Freeswitch-svn] [commit] r9253 - freeswitch/trunk/src/mod/applications/mod_commands

Freeswitch SVN anthm at freeswitch.org
Mon Aug 11 19:58:42 EDT 2008


Author: anthm
Date: Mon Aug 11 19:58:42 2008
New Revision: 9253

Modified:
   freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c

Log:
tweak

Modified: freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c	Mon Aug 11 19:58:42 2008
@@ -2024,7 +2024,7 @@
 			if (!strcasecmp(var, "text/plain")) {
 				holder.http = NULL;
 			}
-		} else {
+		} else if (holder.http) {
 			stream->write_function(stream, "%s", "Content-Type: text/html\n\n");
 		}
 



More information about the Freeswitch-svn mailing list