Remove xstrdup since it was added to lib/util.c. Caused compile failure
authorJim McDonough <jmcd@samba.org>
Wed, 24 Oct 2001 17:58:03 +0000 (17:58 +0000)
committerJim McDonough <jmcd@samba.org>
Wed, 24 Oct 2001 17:58:03 +0000 (17:58 +0000)
source/client/smbmount.c

index 27f33db92db73c25eb98162d7971124e9e0c0904..d41d26ec37111bb6d86a35ff8f9e2cb2ec0d0804 100644 (file)
@@ -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