git.samba.org
/
jelmer
/
samba4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86de168
)
Remove xstrdup since it was added to lib/util.c. Caused compile failure
author
Jim McDonough
<jmcd@samba.org>
Wed, 24 Oct 2001 17:58:03 +0000
(17:58 +0000)
committer
Jim McDonough
<jmcd@samba.org>
Wed, 24 Oct 2001 17:58:03 +0000
(17:58 +0000)
source/client/smbmount.c
patch
|
blob
|
history
diff --git
a/source/client/smbmount.c
b/source/client/smbmount.c
index 27f33db92db73c25eb98162d7971124e9e0c0904..d41d26ec37111bb6d86a35ff8f9e2cb2ec0d0804 100644
(file)
--- a/
source/client/smbmount.c
+++ b/
source/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