diff options
author | Jim McDonough <jmcd@samba.org> | 2001-10-24 17:58:03 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2001-10-24 17:58:03 +0000 |
commit | 11d830c53388c14841eea6c12859d1e3346c1cf2 (patch) | |
tree | 3bc6c52a708f96ffb3dcad4251f1d989a1c094ca /source3/client | |
parent | 352f226d7677907c48df4f55bbecdf87c651eaf3 (diff) | |
download | samba-11d830c53388c14841eea6c12859d1e3346c1cf2.tar.gz samba-11d830c53388c14841eea6c12859d1e3346c1cf2.tar.bz2 samba-11d830c53388c14841eea6c12859d1e3346c1cf2.zip |
Remove xstrdup since it was added to lib/util.c. Caused compile failure
(This used to be commit 43c384fa7854a9592ce5e5b67cb650c91ea09a76)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/smbmount.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c index 27f33db92d..d41d26ec37 100644 --- a/source3/client/smbmount.c +++ b/source3/client/smbmount.c @@ -402,19 +402,6 @@ static void send_fs_socket(char *service, char *mount_point, struct cli_state *c exit(1); } -/********************************************************* -a strdup with exit -**********************************************************/ -static char *xstrdup(char *s) -{ - s = strdup(s); - if (!s) { - fprintf(stderr,"out of memory\n"); - exit(1); - } - return s; -} - /**************************************************************************** mount smbfs |