From 11d830c53388c14841eea6c12859d1e3346c1cf2 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Wed, 24 Oct 2001 17:58:03 +0000 Subject: Remove xstrdup since it was added to lib/util.c. Caused compile failure (This used to be commit 43c384fa7854a9592ce5e5b67cb650c91ea09a76) --- source3/client/smbmount.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'source3/client') 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 -- cgit