summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-06 14:22:16 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-06 14:22:16 +0000
commit9abaadefaf68e62b0e6ea05a72b7414bab094eb0 (patch)
treeb5521f6028c25bf40f0d224c0e3213277aeec385 /src/common
parent1db32664614e71921435c6af105732aa748c2064 (diff)
downloadhercules-9abaadefaf68e62b0e6ea05a72b7414bab094eb0.tar.gz
hercules-9abaadefaf68e62b0e6ea05a72b7414bab094eb0.tar.bz2
hercules-9abaadefaf68e62b0e6ea05a72b7414bab094eb0.tar.xz
hercules-9abaadefaf68e62b0e6ea05a72b7414bab094eb0.zip
- Updated skill_require_db's entry for Abracadabra, it requires yellow 2 gemstones (there's no such hardcoded yellow gemstone requirement anymore)
- Corrected db/const.txt entry bMagicSubRace -> bMagicAddSize - Fixed Aex Aeterna ending on Soul Breaker's first half. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8651 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/socket.c b/src/common/socket.c
index 3d7684972..537066ca7 100644
--- a/src/common/socket.c
+++ b/src/common/socket.c
@@ -1395,7 +1395,7 @@ bool session_isActive(int fd)
in_addr_t resolve_hostbyname(char* hostname, unsigned char *ip, char *ip_str) {
struct hostent *h = gethostbyname(hostname);
unsigned char ip_buf[16];
- char ip2[4];
+ unsigned char ip2[4];
if (!h) return 0;
if (ip == NULL) ip = ip2;
ip[0] = (unsigned char) h->h_addr[0];