summaryrefslogtreecommitdiff
path: root/source/libsmb/clidgram.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-11-07 15:52:30 +0000
committerGerald Carter <jerry@samba.org>2003-11-07 15:52:30 +0000
commit16609b588b9703f9e12a0b6252dc31bfa9911b99 (patch)
tree3f7212610daef334f063a424e49036dba763e853 /source/libsmb/clidgram.c
parent53d8dfad13e2063ee1161ad4e8ff98683725cbdf (diff)
downloadsamba-16609b588b9703f9e12a0b6252dc31bfa9911b99.tar.gz
syncing tree with SAMBA_3_0
Diffstat (limited to 'source/libsmb/clidgram.c')
-rw-r--r--source/libsmb/clidgram.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source/libsmb/clidgram.c b/source/libsmb/clidgram.c
index 5ab6bef87b6..c4675f1938a 100644
--- a/source/libsmb/clidgram.c
+++ b/source/libsmb/clidgram.c
@@ -75,7 +75,7 @@ int cli_send_mailslot(int dgram_sock, BOOL unique, const char *mailslot,
SSVAL(ptr,smb_vwv15,1);
SSVAL(ptr,smb_vwv16,2);
p2 = smb_buf(ptr);
- pstrcpy(p2,mailslot);
+ fstrcpy(p2,mailslot);
p2 = skip_string(p2,1);
memcpy(p2,buf,len);
@@ -135,7 +135,7 @@ static char cli_backup_list[1024];
int cli_get_backup_list(const char *myname, const char *send_to_name)
{
- char outbuf[15];
+ pstring outbuf;
char *p;
struct in_addr sendto_ip, my_ip;
int dgram_sock;
@@ -262,6 +262,3 @@ int cli_get_backup_server(char *my_name, char *target, char *servername, int nam
return True;
}
-
-
-