summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-06-16 18:25:36 +0000
committerJeremy Allison <jra@samba.org>1998-06-16 18:25:36 +0000
commitbbd7ca65e706457f5dbc046e83b4bd8cdde5be8f (patch)
tree49c88c02e70e23012ee37b34bc4f47e6a963cee8 /source3/lib
parentc2e2e691ebece45f0dc3226ce1e5a61d1bb9fbce (diff)
downloadsamba-bbd7ca65e706457f5dbc046e83b4bd8cdde5be8f.tar.gz
samba-bbd7ca65e706457f5dbc046e83b4bd8cdde5be8f.tar.bz2
samba-bbd7ca65e706457f5dbc046e83b4bd8cdde5be8f.zip
clientgen: Added USE_SSL for client shutdown.
clitar.c: Added 'Samba style' comments before string_create_s(). loadparm.c: Fixed missing comma in SSL code. util.c: Removed string_create_s(). Currently it's only called from clitar.c and having it here as well as a static in clitar causes the compile to break (Richard, please decide where you want this function). lib/rpc/parse/parse_net.c: Fix from <anders.blomdell@control.lth.se> to stop coredump on missing parameter. Jeremy. (This used to be commit d23b44322570cb9a7aa2b86407bf4f91010a237b)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 698edac512..750ca0f3ab 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -5017,25 +5017,6 @@ int unistrcpy(char *dst, char *src)
}
/*******************************************************************
-Create a string of size size+1 (for the null)
-*******************************************************************/
-char *string_create_s(int size)
-{
- char *tmp;
-
- tmp = (char *)malloc(size+1);
-
- if (tmp == NULL) {
-
- DEBUG(0, ("Out of memory in string_create_s\n"));
-
- }
-
- return(tmp);
-
-}
-
-/*******************************************************************
safe string copy into a known length string. maxlength does not
include the terminating zero.
********************************************************************/