Mercurial > ~mikael > mcabber > hg
view mcabber/mcabber/nohtml.h @ 1747:c4f67e2e675f
Randomize reconnection delay
Conforming to rfc3920bis, 4.5:
"The time that expires before an entity first seeks to reconnect MUST be
randomized"
(We should still increase the delay if the reconnection keeps failing.)
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 11 Mar 2010 22:27:36 +0100 |
parents | 41c26b7d2890 |
children | e6d355e50d7a |
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 expandtab cindent cinoptions=>2\:2(0: For Vim users... */