summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-03-16 22:07:36 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-03-16 22:07:36 +0000
commit3ecf5d663864cab17288b73426183e1a1499e37c (patch)
tree0816d7e01cf582d9927b044fe3f56999afe5f515 /source3/smbd
parent7b18c5d1647b44f46cf973701b3bcc9aefb37e7d (diff)
downloadsamba-3ecf5d663864cab17288b73426183e1a1499e37c.tar.gz
samba-3ecf5d663864cab17288b73426183e1a1499e37c.tar.bz2
samba-3ecf5d663864cab17288b73426183e1a1499e37c.zip
Missed one when I move 'share_sanity_checks' to use an fstring for 'dev'.
Andrew Bartlett (This used to be commit a0208a4f74f9c61eb1e346d9cb62dbe00ef4c24a)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index a47e6c1bbc..dc471ab87e 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -229,7 +229,7 @@ static NTSTATUS share_sanity_checks(int snum, fstring dev)
/* you can only connect to the IPC$ service as an ipc device */
if (strequal(lp_fstype(snum), "IPC"))
- pstrcpy(dev,"IPC");
+ fstrcpy(dev,"IPC");
if (dev[0] == '?' || !dev[0]) {
if (lp_print_ok(snum)) {