mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-21 02:51:45 +01:00
Addressed warnings from -Wall.
This commit is contained in:
@@ -514,7 +514,7 @@ void save_char(struct char_data * ch)
|
||||
|
||||
/* If ch->desc is not null, then update session data before saving. */
|
||||
if (ch->desc) {
|
||||
if (ch->desc->host && *ch->desc->host) {
|
||||
if (*ch->desc->host) {
|
||||
if (!GET_HOST(ch))
|
||||
GET_HOST(ch) = strdup(ch->desc->host);
|
||||
else if (GET_HOST(ch) && strcmp(GET_HOST(ch), ch->desc->host)) {
|
||||
|
||||
Reference in New Issue
Block a user