]> git.sesse.net Git - casparcg/commitdiff
Fixed bug where DATA REMOVE responded with the wrong return code.
authorHelge Norberg <helge.norberg@svt.se>
Wed, 18 Nov 2015 12:05:02 +0000 (13:05 +0100)
committerHelge Norberg <helge.norberg@svt.se>
Wed, 18 Nov 2015 12:05:02 +0000 (13:05 +0100)
protocol/amcp/AMCPCommandsImpl.cpp

index 1f684150d6abae84f636ccc84be6d6c1def3af3c..571c472b6f39e089400e8e49a8da53652f046ee0 100644 (file)
@@ -894,7 +894,7 @@ std::wstring data_remove_command(command_context& ctx)
        if (!boost::filesystem::remove(filename))
                CASPAR_THROW_EXCEPTION(caspar_exception() << msg_info(filename + L" could not be removed"));
 
-       return L"201 DATA REMOVE OK\r\n";
+       return L"202 DATA REMOVE OK\r\n";
 }
 
 // Template Graphics Commands