From d8400bcc065367779f67740bc59aac976bd5eda1 Mon Sep 17 00:00:00 2001 From: Dastgir Date: Tue, 20 Jan 2015 16:39:23 +0530 Subject: Fixes Compile Error on Windows --- src/char/int_mail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/char') diff --git a/src/char/int_mail.c b/src/char/int_mail.c index 79d20cbd1..17fb9d424 100644 --- a/src/char/int_mail.c +++ b/src/char/int_mail.c @@ -51,8 +51,8 @@ static int inter_mail_fromsql(int char_id, struct mail_data* md) for (i = 0; i < MAIL_MAX_INBOX && SQL_SUCCESS == SQL->NextRow(inter->sql_handle); ++i ) { - msg = &md->msg[i]; struct item *item; + msg = &md->msg[i]; SQL->GetData(inter->sql_handle, 0, &data, NULL); msg->id = atoi(data); SQL->GetData(inter->sql_handle, 1, &data, NULL); safestrncpy(msg->send_name, data, NAME_LENGTH); SQL->GetData(inter->sql_handle, 2, &data, NULL); msg->send_id = atoi(data); -- cgit v1.2.3-60-g2f50