summaryrefslogtreecommitdiff
path: root/source3/include/client.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-04-27 12:06:25 -0700
committerJeremy Allison <jra@samba.org>2011-04-27 12:06:25 -0700
commit1815f0298f33c949f78e181477e8474a37663ccd (patch)
tree89e0274af9afe5c814fcce17f291791bcbc2a5f6 /source3/include/client.h
parent66b26195d21f0889e7ccd0de25a5827bb3722196 (diff)
downloadsamba-1815f0298f33c949f78e181477e8474a37663ccd.tar.gz
samba-1815f0298f33c949f78e181477e8474a37663ccd.tar.bz2
samba-1815f0298f33c949f78e181477e8474a37663ccd.zip
Remove fstrings from client struct. Properly talloc strings (ensuring we never end up with a NULL pointer).
Diffstat (limited to 'source3/include/client.h')
-rw-r--r--source3/include/client.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/include/client.h b/source3/include/client.h
index 9e4a61dbac..b51da90973 100644
--- a/source3/include/client.h
+++ b/source3/include/client.h
@@ -71,7 +71,7 @@ struct cli_state {
int rap_error;
int privileges;
- fstring desthost;
+ char *desthost;
/* The credentials used to open the cli_state connection. */
char *domain;
@@ -83,12 +83,12 @@ struct cli_state {
* ones returned by the server if
* the protocol > NT1.
*/
- fstring server_type;
- fstring server_os;
- fstring server_domain;
+ char *server_type;
+ char *server_os;
+ char *server_domain;
- fstring share;
- fstring dev;
+ char *share;
+ char *dev;
struct nmb_name called;
struct nmb_name calling;
struct sockaddr_storage dest_ss;