summaryrefslogtreecommitdiff
path: root/ext/xmlrpc
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2013-06-10 14:20:18 -0700
committerStanislav Malyshev <stas@php.net>2013-06-10 14:30:59 -0700
commit02e4d7a290ae437688b3a3d114621a1d32444560 (patch)
treeab3b9d2387ac6914ab7dd68afda87134d3b81e4b /ext/xmlrpc
parentec790753948d190db354cbce97786b4a1aac63fc (diff)
downloadphp-git-02e4d7a290ae437688b3a3d114621a1d32444560.tar.gz
Merge branch 'pull-request/341'
* pull-request/341: (23 commits) typofixes
Diffstat (limited to 'ext/xmlrpc')
-rw-r--r--ext/xmlrpc/libxmlrpc/simplestring.c2
-rw-r--r--ext/xmlrpc/libxmlrpc/xmlrpc.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/xmlrpc/libxmlrpc/simplestring.c b/ext/xmlrpc/libxmlrpc/simplestring.c
index 7211d2cd94..a084d0e64f 100644
--- a/ext/xmlrpc/libxmlrpc/simplestring.c
+++ b/ext/xmlrpc/libxmlrpc/simplestring.c
@@ -66,7 +66,7 @@ static const char rcsid[] = "#(@) $Id$";
*
* simplestring is, as the name implies, a simple API for dealing with C strings.
* Why would I write yet another string API? Because I couldn't find any that were
- * a) free / GPL, b) simple/lightweight, c) fast, not doing unneccesary strlens all
+ * a) free / GPL, b) simple/lightweight, c) fast, not doing unnecessary strlens all
* over the place. So. It is simple, and it seems to work, and it is pretty fast.
*
* Oh, and it is also binary safe, ie it can handle strings with embedded NULLs,
diff --git a/ext/xmlrpc/libxmlrpc/xmlrpc.c b/ext/xmlrpc/libxmlrpc/xmlrpc.c
index ec2321b347..ce70c2afd9 100644
--- a/ext/xmlrpc/libxmlrpc/xmlrpc.c
+++ b/ext/xmlrpc/libxmlrpc/xmlrpc.c
@@ -897,7 +897,7 @@ const char *XMLRPC_SetValueID_Case(XMLRPC_VALUE value, const char* id, int len,
(len > 0) ? simplestring_addn(&value->id, id, len) :
simplestring_add(&value->id, id);
- /* upper or lower case string in place if required. could be a seperate func. */
+ /* upper or lower case string in place if required. could be a separate func. */
if(id_case == xmlrpc_case_lower || id_case == xmlrpc_case_upper) {
int i;
for(i = 0; i < value->id.len; i++) {
@@ -1609,7 +1609,7 @@ XMLRPC_VALUE XMLRPC_CopyValue(XMLRPC_VALUE value) {
* XMLRPC_CopyValue ()
* NOTES
* Use this when function when you need to modify the contents of
- * the copied value seperately from the original.
+ * the copied value separately from the original.
*
* this function is recursive, thus the value and all of its children
* (if any) will be duplicated.