Duplicate argv data before poptFreeContext().
[rsync.git] / chmod.c
diff --git a/chmod.c b/chmod.c
index 7ecb8cb3ca901b91178cb3f28ae49614727705ab..8bbf791aabb6cb70c7ed569a4f5bae5e129b94ab 100644 (file)
--- a/chmod.c
+++ b/chmod.c
@@ -2,7 +2,7 @@
  * Implement the core of the --chmod option.
  *
  * Copyright (C) 2002 Scott Howard
- * Copyright (C) 2005-2018 Wayne Davison
+ * Copyright (C) 2005-2020 Wayne Davison
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -44,7 +44,7 @@ struct chmod_mode_struct {
 #define STATE_OCTAL_NUM 3
 
 /* Parse a chmod-style argument, and break it down into one or more AND/OR
- * pairs in a linked list.  We return a pointer to new items on succcess
+ * pairs in a linked list.  We return a pointer to new items on success
  * (appending the items to the specified list), or NULL on error. */
 struct chmod_mode_struct *parse_chmod(const char *modestr,
                                      struct chmod_mode_struct **root_mode_ptr)