diff options
author | Jeremy Allison <jra@samba.org> | 2003-03-19 02:01:11 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-03-19 02:01:11 +0000 |
commit | 7e958f092a146190e7899482f26e13b480f83986 (patch) | |
tree | 14a77df4cdd723db3d921feddaed12217c17169e /source3/smbd | |
parent | 4e8d7b3e8ed045f6a110889c5e31f2c5170b68a7 (diff) | |
download | samba-7e958f092a146190e7899482f26e13b480f83986.tar.gz samba-7e958f092a146190e7899482f26e13b480f83986.tar.bz2 samba-7e958f092a146190e7899482f26e13b480f83986.zip |
Doin't pstrcpy into fstring.
Jeremy.
(This used to be commit e619c50834a06b3026dc6b8603d1f88268bbdbc1)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/service.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c index 0f178b8ffc..a5e1ec4e93 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -229,13 +229,13 @@ 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)) { - pstrcpy(dev,"LPT1:"); + fstrcpy(dev,"LPT1:"); } else { - pstrcpy(dev,"A:"); + fstrcpy(dev,"A:"); } } @@ -248,7 +248,7 @@ static NTSTATUS share_sanity_checks(int snum, fstring dev) /* Behave as a printer if we are supposed to */ if (lp_print_ok(snum) && (strcmp(dev, "A:") == 0)) { - pstrcpy(dev, "LPT1:"); + fstrcpy(dev, "LPT1:"); } return NT_STATUS_OK; |