diff options
-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 |