aboutsummaryrefslogtreecommitdiff
path: root/common/stringop.c
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-04-02 19:09:12 +0200
committerMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-04-02 19:09:12 +0200
commit4885a6c423b9bcf4a60e57b32f528b9c90d09cd8 (patch)
tree89abbdf64bf6f8d9374afe9fc1f8cd4f5856d88b /common/stringop.c
parent0d4c31edcd49e1780da9f637474adeb09d3b11c7 (diff)
parent3e8081514d28871f8c780550719b2ea481b038c3 (diff)
Merge pull request #569 from 1ace/master
Fix spelling mistakes
Diffstat (limited to 'common/stringop.c')
-rw-r--r--common/stringop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/stringop.c b/common/stringop.c
index 186fe121..61324458 100644
--- a/common/stringop.c
+++ b/common/stringop.c
@@ -342,7 +342,7 @@ char *cmdsep(char **stringp, const char *delim) {
char *head = *stringp + strspn(*stringp, delim);
// Find end token
char *tail = *stringp += strcspn(*stringp, delim);
- // Set stringp to begining of next token
+ // Set stringp to beginning of next token
*stringp += strspn(*stringp, delim);
// Set stringp to null if last token
if (!**stringp) *stringp = NULL;