diff options
Diffstat (limited to 'libpurple/log.c')
-rw-r--r-- | libpurple/log.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libpurple/log.c b/libpurple/log.c index 57eb87c004..e279e6406b 100644 --- a/libpurple/log.c +++ b/libpurple/log.c @@ -1681,7 +1681,6 @@ static GList *old_logger_list(PurpleLogType type, const char *sn, PurpleAccount struct tm tm; char month[4]; struct old_logger_data *data = NULL; - char *newlog; int logfound = 0; int lastoff = 0; int newlen; @@ -1783,7 +1782,7 @@ static GList *old_logger_list(PurpleLogType type, const char *sn, PurpleAccount } while (fgets(buf, BUF_LONG, file)) { - if ((newlog = strstr(buf, "---- New C"))) { + if (strstr(buf, "---- New C") != NULL) { int length; int offset; char convostart[32]; |