Without the whole source file and line numbers, it is hard to say, but:
Quote:
if (mysql_num_rows(result) != 0) {
row = mysql_fetch_row(result);
in_pp->y = atoi(row[0]);
in_pp->x = atoi(row[1]);
in_pp->z = atoi(row[2]);
in_pp->zone_id = atoi(row[3]);
in_pp->bind_zone_id = atoi(row[4]);
mysql_free_result(result);
return true;
}
} // <------- Try deleting this
|
You may have an extraneous end brace there. Try deleting that.