view mcabber/mcabber/nohtml.h @ 2220:79e12dacbccd

Fix a 1-byte memory leak in caps_generate() The caps value is correctly stolen and reinserted but the previous hash key should be freed. This is a special key "" of 1 byte.
author Mikael Berthe <mikael@lilotux.net>
date Fri, 06 Nov 2015 13:43:15 +0100
parents e6d355e50d7a
children
line wrap: on
line source

#ifndef __MCABBER_NOHTML_H__
#define __MCABBER_NOHTML_H__ 1

char *html_strip(const char *buf);
char *html_escape(const char *text);

#endif /* __MCABBER_NOHTML_H__ */

/* vim: set et cindent cinoptions=>2\:2(0 ts=2 sw=2:  For Vim users... */