From 508b782c795c8063ed42183bc0f94c8cf039aaf5 Mon Sep 17 00:00:00 2001 From: Stefan Sommerfeld Date: Sun, 7 Nov 2010 18:40:41 -0200 Subject: [PATCH] Fixed some typos. --- upnp/inc/UpnpString.h | 2 +- upnp/src/api/upnpapi.c | 4 ++-- upnp/src/genlib/net/http/httpreadwrite.c | 6 +++--- upnp/src/genlib/service_table/service_table.c | 2 +- upnp/src/inc/httpreadwrite.h | 8 ++++---- upnp/src/inc/service_table.h | 2 +- upnp/src/soap/soap_ctrlpt.c | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/upnp/inc/UpnpString.h b/upnp/inc/UpnpString.h index 58d8210..dfa5cbe 100644 --- a/upnp/inc/UpnpString.h +++ b/upnp/inc/UpnpString.h @@ -17,7 +17,7 @@ * * \file * - * \brief UpnpString object declarartion. + * \brief UpnpString object declaration. */ diff --git a/upnp/src/api/upnpapi.c b/upnp/src/api/upnpapi.c index d67895c..cf76b3f 100644 --- a/upnp/src/api/upnpapi.c +++ b/upnp/src/api/upnpapi.c @@ -470,7 +470,7 @@ int UpnpInit(const char *HostIP, unsigned short DestPort) } } - /* Set the UpnpSdkInit flag to 1 to indicate we're sucessfully initialized. */ + /* Set the UpnpSdkInit flag to 1 to indicate we're successfully initialized. */ UpnpSdkInit = 1; /* Finish initializing the SDK. */ @@ -522,7 +522,7 @@ int UpnpInit2(const char *IfName, unsigned short DestPort) goto exit_function; } - /* Set the UpnpSdkInit flag to 1 to indicate we're sucessfully initialized. */ + /* Set the UpnpSdkInit flag to 1 to indicate we're successfully initialized. */ UpnpSdkInit = 1; /* Finish initializing the SDK. */ diff --git a/upnp/src/genlib/net/http/httpreadwrite.c b/upnp/src/genlib/net/http/httpreadwrite.c index fb85884..fa5bf0d 100644 --- a/upnp/src/genlib/net/http/httpreadwrite.c +++ b/upnp/src/genlib/net/http/httpreadwrite.c @@ -1089,7 +1089,7 @@ http_WriteHttpPost( IN void *Handle, * associated memory. Frees handle associated with the HTTP POST msg. * * Return: int - * UPNP_E_SUCCESS - On Sucess + * UPNP_E_SUCCESS - On success * UPNP_E_INVALID_PARAM - Invalid Parameter ************************************************************************/ int @@ -1144,7 +1144,7 @@ http_CloseHttpPost( IN void *Handle, * such handles * * Return : int; - * UPNP_E_SUCCESS - On Sucess + * UPNP_E_SUCCESS - On success * UPNP_E_INVALID_PARAM - Invalid Parameter * UPNP_E_OUTOF_MEMORY * UPNP_E_SOCKET_ERROR @@ -1450,7 +1450,7 @@ ReadResponseLineAndHeaders( IN SOCKINFO * info, * Parses and extracts information from the new data. * * Return: int - * UPNP_E_SUCCESS - On Sucess + * UPNP_E_SUCCESS - On success * UPNP_E_INVALID_PARAM - Invalid Parameter * UPNP_E_BAD_RESPONSE * UPNP_E_BAD_HTTPMSG diff --git a/upnp/src/genlib/service_table/service_table.c b/upnp/src/genlib/service_table/service_table.c index 47ccf4f..bc720ab 100644 --- a/upnp/src/genlib/service_table/service_table.c +++ b/upnp/src/genlib/service_table/service_table.c @@ -52,7 +52,7 @@ * Description : Makes a copy of the subscription * * Return : int ; -* HTTP_SUCCESS - On Sucess +* HTTP_SUCCESS - On success * * Note : ************************************************************************/ diff --git a/upnp/src/inc/httpreadwrite.h b/upnp/src/inc/httpreadwrite.h index 40ba2fd..c026187 100644 --- a/upnp/src/inc/httpreadwrite.h +++ b/upnp/src/inc/httpreadwrite.h @@ -95,7 +95,7 @@ int http_FixStrUrl( IN const char* urlstr, IN int urlstrlen, OUT uri_type* fixed * Gets destination address from URL and then connects to the remote end * * Returns: - * socket descriptor on sucess + * socket descriptor on success * UPNP_E_OUTOF_SOCKET * UPNP_E_SOCKET_CONNECT on error ************************************************************************/ @@ -271,7 +271,7 @@ int http_WriteHttpPost(IN void *Handle, * associated memory. Frees handle associated with the HTTP POST msg. * * Return: int - * UPNP_E_SUCCESS - On Sucess + * UPNP_E_SUCCESS - On success * UPNP_E_INVALID_PARAM - Invalid Parameter ************************************************************************/ int http_CloseHttpPost(IN void *Handle, @@ -296,7 +296,7 @@ int http_CloseHttpPost(IN void *Handle, * such handles * * Return : int; - * UPNP_E_SUCCESS - On Sucess + * UPNP_E_SUCCESS - On success * UPNP_E_INVALID_PARAM - Invalid Parameter * UPNP_E_OUTOF_MEMORY * UPNP_E_SOCKET_ERROR @@ -323,7 +323,7 @@ int http_OpenHttpPost(IN const char *url_str, * Parses and extracts information from the new data. * * Return: int - * UPNP_E_SUCCESS - On Sucess + * UPNP_E_SUCCESS - On success * UPNP_E_INVALID_PARAM - Invalid Parameter * UPNP_E_BAD_RESPONSE * UPNP_E_BAD_HTTPMSG diff --git a/upnp/src/inc/service_table.h b/upnp/src/inc/service_table.h index 7705368..7777ab4 100644 --- a/upnp/src/inc/service_table.h +++ b/upnp/src/inc/service_table.h @@ -99,7 +99,7 @@ typedef struct SERVICE_TABLE { /*! * \brief Makes a copy of the subscription. * - * \return HTTP_SUCCESS on Sucess. + * \return HTTP_SUCCESS on success. */ int copy_subscription( /*! [in] Source subscription. */ diff --git a/upnp/src/soap/soap_ctrlpt.c b/upnp/src/soap/soap_ctrlpt.c index b4ac6dd..3d3a5f1 100644 --- a/upnp/src/soap/soap_ctrlpt.c +++ b/upnp/src/soap/soap_ctrlpt.c @@ -240,7 +240,7 @@ get_node_value( IN IXML_Node * node ) * control URL * * Return : int -* returns 0 on sucess; -1 on error +* returns 0 on success; -1 on error * * Note : ****************************************************************************/