Mercurial > hg > orthanc
diff Plugins/OrthancCPlugin/OrthancCPlugin.h @ 1040:d06186cdc502
check plugin version in samples
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Jul 2014 13:04:02 +0200 |
parents | 5a5a4890ffca |
children | 2c49b7dffcec |
line wrap: on
line diff
--- a/Plugins/OrthancCPlugin/OrthancCPlugin.h Thu Jul 17 12:46:00 2014 +0200 +++ b/Plugins/OrthancCPlugin/OrthancCPlugin.h Thu Jul 17 13:04:02 2014 +0200 @@ -372,7 +372,6 @@ /* Assume compatibility with the mainline */ if (!strcmp(context->orthancVersion, "mainline")) { - printf("mainline\n"); return 1; } @@ -414,7 +413,7 @@ /* Check the revision number of the version */ - if (revision >= ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER) + if (revision >= ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER) { return 1; }