diff Plugins/Samples/Basic/Plugin.c @ 2997:5a6a2c5bf73f

fix basic plugin sample
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 10 Dec 2018 21:52:01 +0100
parents ccf61f6e22ef
children 4e43e67f8ecf
line wrap: on
line diff
--- a/Plugins/Samples/Basic/Plugin.c	Mon Dec 10 20:32:47 2018 +0100
+++ b/Plugins/Samples/Basic/Plugin.c	Mon Dec 10 21:52:01 2018 +0100
@@ -40,7 +40,7 @@
   {
     // NB: Calling "OrthancPluginSendMethodNotAllowed(context, output, "GET");"
     // is preferable. This is a sample to demonstrate "OrthancPluginSetHttpErrorDetails()".
-    OrthancPluginSetHttpErrorDetails(context, output, "This Callback1() can only be used by a GET call");
+    OrthancPluginSetHttpErrorDetails(context, output, "This Callback1() can only be used by a GET call", 1 /* log */);
     return OrthancPluginErrorCode_ParameterOutOfRange;
   }