Mercurial > pidgin
comparison libpurple/prpl.h @ 31753:d1ea32c41634
log_reader: strchr(), and some simplifying to make clang happier
Clang's static analyzer thought 'line' might result in a null deref
in the trillian log reader, if there was an empty "(Link: )" section
(temp would be NULL), except that couldn't ever happen, because the data
was *always* \n-terminated, so 'c' is alway non-NULL.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Thu, 21 Jul 2011 05:36:54 +0000 |
parents | 96e66fbe2881 |
children | 2c58de59bd57 3828a61c44da |
comparison
equal
deleted
inserted
replaced
31750:cb4705abb991 | 31753:d1ea32c41634 |
---|