summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-22 15:00:18 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-22 15:00:18 +0000
commita2056f98102dcb72c52139f372fb98f3084616c8 (patch)
tree30094a313303d5ff521d1badf4839ec7ac8f4640 /src/map/clif.c
parentdec3ae611b85e2ce1d01a572a0d07d0e2907408b (diff)
downloadhercules-a2056f98102dcb72c52139f372fb98f3084616c8.tar.gz
hercules-a2056f98102dcb72c52139f372fb98f3084616c8.tar.bz2
hercules-a2056f98102dcb72c52139f372fb98f3084616c8.tar.xz
hercules-a2056f98102dcb72c52139f372fb98f3084616c8.zip
Fixed 2 problems in r12223 - incorrect variable used (bugreport:1031) and a missing global function declaration
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12229 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 07e95aed4..a2dfe6b35 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -487,9 +487,9 @@ int clif_send(const uint8* buf, int len, struct block_list* bl, enum send_target
sd->state.active && sd->guildspy == g->guild_id &&
packet_db[sd->packet_ver][RBUFW(buf,0)].len)
{ // packet must exist for the client version
- WFIFOHEAD(fd,len);
- memcpy(WFIFOP(fd,0), buf, len);
- WFIFOSET(fd,len);
+ WFIFOHEAD(i,len);
+ memcpy(WFIFOP(i,0), buf, len);
+ WFIFOSET(i,len);
}
}
}