]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
spelling: occurred
authorJosh Soref <jsoref@users.noreply.github.com>
Thu, 2 Feb 2017 10:19:39 +0000 (10:19 +0000)
committerJosh Soref <jsoref@users.noreply.github.com>
Thu, 2 Feb 2017 10:19:39 +0000 (10:19 +0000)
pdns/ws-auth.cc

index 31f4386ef24861f690f64e348b01cdd513c713ce..44729d041aaa1c2d210cc2c8a8639c27b1bf1010 100644 (file)
@@ -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) {