1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-02-02 15:08:15 -05:00
Dmitry Podgorny efbf233c85 Define stanza's attributes as const char*
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.
2016-04-27 10:31:28 +00:00
..
2016-04-27 01:36:14 +01:00
2016-04-26 23:50:56 +02:00
2016-03-31 21:05:02 +01:00
2016-02-14 22:54:46 +00:00
2016-02-14 22:54:46 +00:00
2016-02-14 22:54:46 +00:00
2016-02-14 22:54:46 +00:00
2016-02-14 22:54:46 +00:00
2016-02-14 22:54:46 +00:00
2016-02-14 22:54:46 +00:00
2016-02-14 22:54:46 +00:00
2016-02-14 22:54:46 +00:00
2016-02-14 22:54:46 +00:00
2016-02-14 22:54:46 +00:00
2016-02-14 22:54:46 +00:00
2016-02-14 22:54:46 +00:00
2016-02-14 22:54:46 +00:00
2016-02-14 22:54:46 +00:00