summaryrefslogtreecommitdiff
path: root/source3/lib/util_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/util_str.c')
-rw-r--r--source3/lib/util_str.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index 797e61e40c..1a430d528c 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -1550,28 +1550,6 @@ SMB_OFF_T conv_str_size(const char * str)
return lval;
}
-void string_append(char **left, const char *right)
-{
- int new_len = strlen(right) + 1;
-
- if (*left == NULL) {
- *left = (char *)SMB_MALLOC(new_len);
- if (*left == NULL) {
- return;
- }
- *left[0] = '\0';
- } else {
- new_len += strlen(*left);
- *left = (char *)SMB_REALLOC(*left, new_len);
- }
-
- if (*left == NULL) {
- return;
- }
-
- safe_strcat(*left, right, new_len-1);
-}
-
/* Append an sprintf'ed string. Double buffer size on demand. Usable without
* error checking in between. The indiation that something weird happened is
* string==NULL */