From 955cbfd0e8a1e823b4795d2d189ad772f8b58d2b Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 2 Feb 2017 10:19:39 +0000 Subject: [PATCH] spelling: occurred --- pdns/ws-auth.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/ws-auth.cc b/pdns/ws-auth.cc index 31f4386ef2..44729d041a 100644 --- a/pdns/ws-auth.cc +++ b/pdns/ws-auth.cc @@ -770,7 +770,7 @@ static void apiZoneCryptokeysGET(DNSName zonename, int inquireKeyId, HttpRespons * Server Answers: * Case 1: the backend returns true on removal. This means the key is gone. * The server returns 200 OK, no body. - * Case 2: the backend returns false on removal. An error occoured. + * Case 2: the backend returns false on removal. An error occurred. * The sever returns 422 Unprocessable Entity with message "Could not DELETE :cryptokey_id". * */ static void apiZoneCryptokeysDELETE(DNSName zonename, int inquireKeyId, HttpRequest *req, HttpResponse *resp, DNSSECKeeper *dk) { @@ -904,7 +904,7 @@ static void apiZoneCryptokeysPOST(DNSName zonename, HttpRequest *req, HttpRespon * The server returns 400 Bad Request * Case 2: the backend returns true on de/activation. This means the key is de/active. * The server returns 204 No Content - * Case 3: the backend returns false on de/activation. An error occoured. + * Case 3: the backend returns false on de/activation. An error occurred. * The sever returns 422 Unprocessable Entity with message "Could not de/activate Key: :cryptokey_id in Zone: :zone_name" * */ static void apiZoneCryptokeysPUT(DNSName zonename, int inquireKeyId, HttpRequest *req, HttpResponse *resp, DNSSECKeeper *dk) { -- 2.47.2