summaryrefslogtreecommitdiffstats
path: root/source4/client/smbmount.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-22 04:25:00 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-22 04:25:00 +0200
commit6d9b24de782b04466ca3c1ce6f6e82d54e93d2f3 (patch)
tree90837f51cf6a3d5d651172c66fef8c7a0bf477fe /source4/client/smbmount.c
parent7a683618e79acef94235ff4adee275c462559ab5 (diff)
downloadsamba-6d9b24de782b04466ca3c1ce6f6e82d54e93d2f3.tar.gz
samba-6d9b24de782b04466ca3c1ce6f6e82d54e93d2f3.tar.xz
samba-6d9b24de782b04466ca3c1ce6f6e82d54e93d2f3.zip
Remove pstring usages.
Diffstat (limited to 'source4/client/smbmount.c')
-rw-r--r--source4/client/smbmount.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/client/smbmount.c b/source4/client/smbmount.c
index 37c9eaadc47..d2e98eb1400 100644
--- a/source4/client/smbmount.c
+++ b/source4/client/smbmount.c
@@ -24,6 +24,9 @@
#include <asm/types.h>
#include <linux/smb_fs.h>
+#define pstrcpy(d,s) safe_strcpy((d),(s),sizeof(pstring)-1)
+#define pstrcat(d,s) safe_strcat((d),(s),sizeof(pstring)-1)
+
static pstring credentials;
static pstring my_netbios_name;
static pstring password;