]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 10 May 2006 16:56:07 +0000 (16:56 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 10 May 2006 16:56:07 +0000 (16:56 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1419 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_commands/mod_commands.c

index 458180fe57d7c10bd0fd8e50e1eb3cd4c5867796..fefed8ab500b74c909d74580c907d50aeb259702 100644 (file)
@@ -65,7 +65,7 @@ static switch_status_t status_function(char *cmd, switch_stream_handle_t *stream
                        refresh++;
                        r = atoi(refresh);
                        if (r > 0) { 
-                               stream->write_function(stream, "<META HTTP-EQUIV=REFRESH CONTENT=\"%d; URL=/api/status?refresh=%d\">\n", r, r);
+                               stream->write_function(stream, "<META HTTP-EQUIV=REFRESH CONTENT=\"%d; URL=/api/status?refresh=%d%s\">\n", r, r, html ? "html=1" : "");
                        }
                }
        }