diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/log.c | 2 | ||||
-rw-r--r-- | src/xmpp/vcard.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/log.c b/src/log.c index a1b7bb1d..f2537675 100644 --- a/src/log.c +++ b/src/log.c @@ -105,7 +105,7 @@ _rotate_log_file(void) log_info("Log has been rotated"); } -// abbreviation string is the prefix thats used in the log file +// abbreviation string is the prefix that's used in the log file static char* _log_abbreviation_string_from_level(log_level_t level) { diff --git a/src/xmpp/vcard.c b/src/xmpp/vcard.c index 6d2f0b1e..b3ff5d39 100644 --- a/src/xmpp/vcard.c +++ b/src/xmpp/vcard.c @@ -297,7 +297,7 @@ vcard_parse(xmpp_stanza_t* vcard_xml, vCard* vcard) element->nickname = stanza_text_strdup(child_pointer); if (!element->nickname) { - // Invaild element, free and do not push + // Invalid element, free and do not push free(element); continue; } |