sync 3.0 into HEAD for the last time
[vlendec/samba-autobuild/.git] / source3 / include / safe_string.h
index 6656f4f6bbb804fbc61d7713895c9dd7d393c535..07578b2424c3d00ffcaa2394c201b90e9726fc40 100644 (file)
@@ -124,6 +124,7 @@ size_t __unsafe_string_function_usage_here_char__(void);
 #define pstrcat(d,s) safe_strcat((d), (s),sizeof(pstring)-1)
 #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)
 
 /* 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