Mercurial > hg > orthanc
changeset 4751:b3957ddd88f1
typos
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 08 Jul 2021 17:31:03 +0200 |
parents | 1a061bc2d6ca |
children | 2f35e6b765e5 |
files | OrthancFramework/Sources/Compression/ZipReader.cpp OrthancFramework/Sources/Compression/ZipWriter.cpp OrthancServer/Resources/Configuration.json OrthancServer/Sources/OrthancRestApi/OrthancRestArchive.cpp |
diffstat | 4 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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.
--- 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(); } }
--- 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)
--- 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 "