From 8cfd008ef8da26d97314816e0635691955d475d5 Mon Sep 17 00:00:00 2001 From: Samer El-Haj-Mahmoud Date: Mon, 21 Sep 2015 07:53:16 +0000 Subject: [PATCH] NetworkPkg: Fix typos in some EFI_HTTP_STATUS_CODE definitions Fix spelling typos in EFI_HTTP_STATUS_CODE definitions for error 415 and 501. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Samer El-Haj-Mahmoud Reviewed-by: Fu Siyuan git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18521 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Protocol/Http.h | 4 ++-- NetworkPkg/HttpDxe/HttpProto.c | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/MdePkg/Include/Protocol/Http.h b/MdePkg/Include/Protocol/Http.h index 64b31213a4..839e378eff 100644 --- a/MdePkg/Include/Protocol/Http.h +++ b/MdePkg/Include/Protocol/Http.h @@ -95,11 +95,11 @@ typedef enum { HTTP_STATUS_412_PRECONDITION_FAILED, HTTP_STATUS_413_REQUEST_ENTITY_TOO_LARGE, HTTP_STATUS_414_REQUEST_URI_TOO_LARGE, - HTTP_STATUS_415_UNSUPPORETD_MEDIA_TYPE, + HTTP_STATUS_415_UNSUPPORTED_MEDIA_TYPE, HTTP_STATUS_416_REQUESTED_RANGE_NOT_SATISFIED, HTTP_STATUS_417_EXPECTATION_FAILED, HTTP_STATUS_500_INTERNAL_SERVER_ERROR, - HTTP_STATUS_501_NOT_IMIPLEMENTED, + HTTP_STATUS_501_NOT_IMPLEMENTED, HTTP_STATUS_502_BAD_GATEWAY, HTTP_STATUS_503_SERVICE_UNAVAILABLE, HTTP_STATUS_504_GATEWAY_TIME_OUT, diff --git a/NetworkPkg/HttpDxe/HttpProto.c b/NetworkPkg/HttpDxe/HttpProto.c index 8fbd454110..13d5748378 100644 --- a/NetworkPkg/HttpDxe/HttpProto.c +++ b/NetworkPkg/HttpDxe/HttpProto.c @@ -2,6 +2,7 @@ Miscellaneous routines for HttpDxe driver. Copyright (c) 2015, Intel Corporation. All rights reserved.
+(C) Copyright 2015 Hewlett Packard Enterprise Development LP
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -893,7 +894,7 @@ HttpMappingToStatusCode ( case 414: return HTTP_STATUS_414_REQUEST_URI_TOO_LARGE; case 415: - return HTTP_STATUS_415_UNSUPPORETD_MEDIA_TYPE; + return HTTP_STATUS_415_UNSUPPORTED_MEDIA_TYPE; case 416: return HTTP_STATUS_416_REQUESTED_RANGE_NOT_SATISFIED; case 417: @@ -901,7 +902,7 @@ HttpMappingToStatusCode ( case 500: return HTTP_STATUS_500_INTERNAL_SERVER_ERROR; case 501: - return HTTP_STATUS_501_NOT_IMIPLEMENTED; + return HTTP_STATUS_501_NOT_IMPLEMENTED; case 502: return HTTP_STATUS_502_BAD_GATEWAY; case 503: