summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-17 12:48:19 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-18 14:28:40 +0200
commit2d89b52be8104261aa8f028f49210f016cbf4742 (patch)
treea8fa58b07b0efc5dae0652d7dbc79f99b88e5db4 /source3/client
parent519458a2fa01ae7e8eadebbe1d7895740861c468 (diff)
downloadsamba-2d89b52be8104261aa8f028f49210f016cbf4742.tar.gz
samba-2d89b52be8104261aa8f028f49210f016cbf4742.tar.bz2
samba-2d89b52be8104261aa8f028f49210f016cbf4742.zip
Use separate make variables for libutil and libcrypto.
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c6
-rw-r--r--source3/client/smbspool.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 0fbf56fedb..26badc4051 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -1203,7 +1203,7 @@ static void do_mget(file_info *finfo, const char *dir)
strlower_m(finfo->name);
}
- if (!directory_exist(finfo->name,NULL) &&
+ if (!directory_exist(finfo->name) &&
mkdir(finfo->name,0777) != 0) {
d_printf("failed to create directory %s\n",finfo->name);
client_set_cur_dir(saved_curdir);
@@ -1752,7 +1752,7 @@ static int cmd_put(void)
SMB_STRUCT_STAT st;
/* allow '-' to represent stdin
jdblair, 24.jun.98 */
- if (!file_exist(lname,&st) &&
+ if (!file_exist_stat(lname,&st) &&
(strcmp(lname,"-"))) {
d_printf("%s does not exist\n",lname);
return 1;
@@ -3566,7 +3566,7 @@ static int cmd_reput(void)
return 1;
}
- if (!file_exist(local_name, &st)) {
+ if (!file_exist_stat(local_name, &st)) {
d_printf("%s does not exist\n", local_name);
return 1;
}
diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c
index 4a173714fe..1910ccd4fe 100644
--- a/source3/client/smbspool.c
+++ b/source3/client/smbspool.c
@@ -482,7 +482,7 @@ smb_connect(const char *workgroup, /* I - Workgroup */
/*
* Get the names and addresses of the client and server...
*/
- myname = get_myname(talloc_tos());
+ myname = talloc_get_myname(talloc_tos());
if (!myname) {
return NULL;
}