# HG changeset patch # User Sebastien Jodogne # Date 1625758263 -7200 # Node ID b3957ddd88f1cf05678e2af8eea2c767d7d1049d # Parent 1a061bc2d6cad1a57b6e54d190b1bfed219f51cd typos diff -r 1a061bc2d6ca -r b3957ddd88f1 OrthancFramework/Sources/Compression/ZipReader.cpp --- a/OrthancFramework/Sources/Compression/ZipReader.cpp Thu Jul 08 14:57:21 2021 +0200 +++ b/OrthancFramework/Sources/Compression/ZipReader.cpp Thu Jul 08 17:31:03 2021 +0200 @@ -38,7 +38,7 @@ /** * I have not been able to correctly define "ssize_t" on all versions - * of Visual Studio. As a consequence, I prefered to switch "ssize_t" + * of Visual Studio. As a consequence, I preferred to switch "ssize_t" * to "SSIZE_T", that is properly defined on both MSVC 2008 and 2015. * I define the macro "SSIZE_T" as an alias to "ssize_t" on * POSIX-compliant platforms that wouldn't have "SSIZE_T" defined. diff -r 1a061bc2d6ca -r b3957ddd88f1 OrthancFramework/Sources/Compression/ZipWriter.cpp --- a/OrthancFramework/Sources/Compression/ZipWriter.cpp Thu Jul 08 14:57:21 2021 +0200 +++ b/OrthancFramework/Sources/Compression/ZipWriter.cpp Thu Jul 08 17:31:03 2021 +0200 @@ -452,7 +452,7 @@ } catch (OrthancException& e) // Don't throw exceptions in destructors { - LOG(ERROR) << "Catched exception in destructor: " << e.What(); + LOG(ERROR) << "Caught exception in destructor: " << e.What(); } } diff -r 1a061bc2d6ca -r b3957ddd88f1 OrthancServer/Resources/Configuration.json --- a/OrthancServer/Resources/Configuration.json Thu Jul 08 14:57:21 2021 +0200 +++ b/OrthancServer/Resources/Configuration.json Thu Jul 08 17:31:03 2021 +0200 @@ -797,7 +797,7 @@ // identifier is only useful in the case of multiple // readers/writers, in order to avoid collisions between multiple // Orthanc servers. If unset, this identifier is taken as a SHA-1 - // hash derived from the MAC adddresses of the network interfaces, + // hash derived from the MAC addresses of the network interfaces, // and from the AET and TCP ports used by Orthanc. Manually setting // this option is needed in Docker/Kubernetes environments. (new in // Orthanc 1.9.2) diff -r 1a061bc2d6ca -r b3957ddd88f1 OrthancServer/Sources/OrthancRestApi/OrthancRestArchive.cpp --- a/OrthancServer/Sources/OrthancRestApi/OrthancRestArchive.cpp Thu Jul 08 14:57:21 2021 +0200 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestArchive.cpp Thu Jul 08 17:31:03 2021 +0200 @@ -502,7 +502,7 @@ .SetRequestField("Synchronous", RestApiCallDocumentation::Type_Boolean, "If `true`, create the archive in synchronous mode, which means that the HTTP answer will directly " "contain the ZIP file. This is the default, easy behavior. However, if global configuration option " - "\"SynchronousZipStream\" is set to \"false\", asynchronous transfers should be prefered for " + "\"SynchronousZipStream\" is set to \"false\", asynchronous transfers should be preferred for " "large amount of data, as the creation of the temporary file might lead to network timeouts.", false) .SetRequestField("Asynchronous", RestApiCallDocumentation::Type_Boolean, "If `true`, create the archive in asynchronous mode, which means that a job is submitted to create "