1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-30 21:55:24 +00:00
profanity/src
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
..
command Updated Command structure comments 2016-04-27 00:03:24 +01:00
config Free inputrc string 2016-04-27 01:36:14 +01:00
event Define stanza's attributes as const char* 2016-04-27 10:31:28 +00:00
otr Fix OSX compile 2016-04-26 23:50:56 +02:00
pgp Removed #AX_PREFIX_CONFIG_H 2016-03-31 21:05:02 +01:00
plugins Plugins fixed return values for python stanza hooks 2016-04-15 22:37:44 +01:00
tools Merge remote-tracking branch 'asdil12/xep_0363_http_file_upload' 2016-04-26 23:30:26 +01:00
ui Define stanza's attributes as const char* 2016-04-27 10:31:28 +00:00
xmpp Define stanza's attributes as const char* 2016-04-27 10:31:28 +00:00
chat_session.c Updated copyright 2016-02-14 22:54:46 +00:00
chat_session.h Updated copyright 2016-02-14 22:54:46 +00:00
chat_state.c Updated copyright 2016-02-14 22:54:46 +00:00
chat_state.h Updated copyright 2016-02-14 22:54:46 +00:00
common.c Added whole word matches for room mention 2016-04-07 01:01:27 +01:00
common.h Added whole word matches for room mention 2016-04-07 01:01:27 +01:00
contact.c Updated copyright 2016-02-14 22:54:46 +00:00
contact.h Updated copyright 2016-02-14 22:54:46 +00:00
jid.c Updated copyright 2016-02-14 22:54:46 +00:00
jid.h Updated copyright 2016-02-14 22:54:46 +00:00
log.c Updated copyright 2016-02-14 22:54:46 +00:00
log.h Updated copyright 2016-02-14 22:54:46 +00:00
main.c Merge remote-tracking branch 'Dav1d23/master' 2016-04-11 00:23:36 +01:00
muc.c Define stanza's attributes as const char* 2016-04-27 10:31:28 +00:00
muc.h Updated copyright 2016-02-14 22:54:46 +00:00
profanity.c Implement XEP-0363: HTTP File Upload 2016-04-26 23:50:55 +02:00
profanity.h Implement XEP-0363: HTTP File Upload 2016-04-26 23:50:55 +02:00
resource.c Updated copyright 2016-02-14 22:54:46 +00:00
resource.h Updated copyright 2016-02-14 22:54:46 +00:00
roster_list.c Updated copyright 2016-02-14 22:54:46 +00:00
roster_list.h Updated copyright 2016-02-14 22:54:46 +00:00
tray.c Show correct tray icon immediately on enable 2016-04-18 00:35:03 +01:00
tray.h Load/destroy tray icons on init/shutdown 2016-04-18 00:26:17 +01:00
window_list.c Implement XEP-0363: HTTP File Upload 2016-04-26 23:50:55 +02:00
window_list.h Merge branch 'master' into plugins-c 2016-02-14 23:00:52 +00:00