Excise snprintf -> slprintf.
[kai/samba.git] / source3 / include / safe_string.h
index 2c3d2eda01fb362cd8c642c9c77e8dbc6105c23f..815939d15414c18055b9adaf84605af25fc4e964 100644 (file)
 #endif /* sprintf */
 #define sprintf __ERROR__XX__NEVER_USE_SPRINTF__;
 
+#ifdef snprintf
+#undef snprintf
+#endif /* snprintf */
+#define snprintf __ERROR__XX__NEVER_USE_SNPRINTF___;
+
 #define pstrcpy(d,s) safe_strcpy((d),(s),sizeof(pstring)-1)
 #define pstrcat(d,s) safe_strcat((d),(s),sizeof(pstring)-1)
 #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1)