summaryrefslogtreecommitdiff
path: root/source3/include/safe_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/safe_string.h')
-rw-r--r--source3/include/safe_string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/safe_string.h b/source3/include/safe_string.h
index cb3f37c484..b22c5efcc9 100644
--- a/source3/include/safe_string.h
+++ b/source3/include/safe_string.h
@@ -139,6 +139,7 @@ size_t __unsafe_string_function_usage_here_char__(void);
#define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1)
#define fstrcat(d,s) safe_strcat((d),(s),sizeof(fstring)-1)
#define nstrcpy(d,s) safe_strcpy((d), (s),sizeof(nstring)-1)
+#define unstrcpy(d,s) safe_strcpy((d), (s),sizeof(unstring)-1)
/* the addition of the DEVELOPER checks in safe_strcpy means we must
* update a lot of code. To make this a little easier here are some