1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-02-02 15:08:15 -05:00

Removed unused encode.xml

This commit is contained in:
James Booth 2014-01-21 22:06:09 +00:00
parent 2bc22981fd
commit bbdf2bea58
2 changed files with 0 additions and 14 deletions

View File

@ -167,19 +167,6 @@ str_contains(char str[], int size, char ch)
return 0;
}
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)
{

View File

@ -77,7 +77,6 @@ gboolean mkdir_recursive(const char *dir);
char * str_replace(const char *string, const char *substr,
const char *replacement);
int str_contains(char str[], int size, char ch);
char* encode_xml(const char * const xml);
char * prof_getline(FILE *stream);
char* release_get_latest(void);
gboolean release_is_new(char *found_version);