git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exit-time debug
[exim.git]
/
src
/
src
/
string.c
diff --git
a/src/src/string.c
b/src/src/string.c
index 9f1aeb81db5a9d435ac9235653700acf7aa56ca2..4ef2fee622f0d8424e8ff4ff662bd80a5a411c57 100644
(file)
--- a/
src/src/string.c
+++ b/
src/src/string.c
@@
-12,7
+12,6
@@
utilities and tests, and are cut out by the COMPILE_UTILITY macro. */
#include "exim.h"
#include <assert.h>
#include "exim.h"
#include <assert.h>
-static void gstring_rebuffer(gstring * g);
#ifndef COMPILE_UTILITY
/*************************************************
#ifndef COMPILE_UTILITY
/*************************************************
@@
-1243,16
+1242,6
@@
return !!gp;
-/* Copy the content of a string to tainted memory */
-static void
-gstring_rebuffer(gstring * g)
-{
-uschar * s = store_get(g->size, TRUE);
-memcpy(s, g->s, g->ptr);
-g->s = s;
-}
-
-
/* Build or append to a growing-string, sprintf-style.
/* Build or append to a growing-string, sprintf-style.