Addressed warnings from -Wall.

This commit is contained in:
wyld-sw 2017-01-20 15:13:37 -05:00
parent 5119361f15
commit cacd2c2dd2
8 changed files with 9 additions and 8 deletions

View file

@ -4983,7 +4983,7 @@ ACMD(do_recent)
ct = this->time;
strftime(timestr, sizeof(timestr), "%a %b %d %H:%M:%S %Y", localtime(&ct));
if (this->host && *(this->host)) {
if (*(this->host)) {
if (!strcmp(this->host, "localhost")) loc = TRUE;
}