mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
In most get-like funcitons libstrophe returns pointer to a string that resides in an internal structure (e.g. xmpp_stanza_t). Hence, Profanity must not change such strings. Define respective variables as 'const char*' to reduce a chance of error and conform future libstrophe's interface. This patch mostly replaces 'char *' with 'const char*', but also fixes two memory leaks after stanza_get_reason(). Add comment within stanza_get_reason() to fix conflict with different allocator types.
Profanity 
Profanity is a console based XMPP client inspired by Irssi,
See the User Guide for information on installing and using Profanity.
Links
Homepage: http://www.profanity.im
Chat room: profanitydev@conference.jabber.org
Mailing List: https://groups.google.com/forum/#!forum/profanitydev
Description
Languages
C
97.4%
Python
1.4%
Makefile
0.6%
M4
0.5%
Shell
0.1%