about summary refs log tree commit diff stats
path: root/src/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/common.c b/src/common.c
index 1131c4c9..c8367592 100644
--- a/src/common.c
+++ b/src/common.c
@@ -168,19 +168,6 @@ str_contains(char str[], int size, char ch)
 }
 
 char *
-encode_xml(const char * const xml)
-{
-    char *coded_msg = str_replace(xml, "&", "&");
-    char *coded_msg2 = str_replace(coded_msg, "<", "&lt;");
-    char *coded_msg3 = str_replace(coded_msg2, ">", "&gt;");
-
-    free(coded_msg);
-    free(coded_msg2);
-
-    return coded_msg3;
-}
-
-char *
 prof_getline(FILE *stream)
 {
     char *buf;