summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-12-10 17:37:13 -0200
committershennetsind <ind@henn.et>2013-12-10 17:37:13 -0200
commitd23abe0be6814a8b63a50716bac4963c6b6c0517 (patch)
tree375f725a41f4f16fbd06d309cc8e574ce5ab13ef /src/map/map.c
parentb4136dd3d4779d80df18f84929c576c8080cd7b8 (diff)
parentc3c5e31443c218fb7fbf42b2c48d158b01f37131 (diff)
downloadhercules-d23abe0be6814a8b63a50716bac4963c6b6c0517.tar.gz
hercules-d23abe0be6814a8b63a50716bac4963c6b6c0517.tar.bz2
hercules-d23abe0be6814a8b63a50716bac4963c6b6c0517.tar.xz
hercules-d23abe0be6814a8b63a50716bac4963c6b6c0517.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 029e24136..d70f95dff 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -695,7 +695,7 @@ int map_vforeachinrange(int (*func)(struct block_list*, va_list), struct block_l
va_copy(apcopy, ap);
returnCount = bl_vforeach(func, blockcount, INT_MAX, apcopy);
- va_end(ap);
+ va_end(apcopy);
return returnCount;
}