1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

Remove xstrdup since it was added to lib/util.c. Caused compile failure

(This used to be commit 43c384fa78)
This commit is contained in:
Jim McDonough 2001-10-24 17:58:03 +00:00
parent 352f226d76
commit 11d830c533

View 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