summaryrefslogtreecommitdiffstats
path: root/source/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
commitd23b44322570cb9a7aa2b86407bf4f91010a237b (patch)
treeaaeb33c027c17d90ddd48986eb00cd80cba8f88c /source/lib
parentc63e679337221bbf15beca57249ff3306ebb0369 (diff)
downloadsamba-d23b44322570cb9a7aa2b86407bf4f91010a237b.tar.gz
samba-d23b44322570cb9a7aa2b86407bf4f91010a237b.tar.xz
samba-d23b44322570cb9a7aa2b86407bf4f91010a237b.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.
Diffstat (limited to 'source/lib')
-rw-r--r--source/lib/util.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/source/lib/util.c b/source/lib/util.c
index 698edac5126..750ca0f3ab4 100644
--- a/source/lib/util.c
+++ b/source/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.
********************************************************************/