diff -r 13e6e510cc6c -r 3cd3255adb76 sourcehook/sourcehook.cpp --- a/sourcehook/sourcehook.cpp Mon Oct 08 19:17:38 2007 +0000 +++ b/sourcehook/sourcehook.cpp Mon Oct 08 20:12:06 2007 +0000 @@ -696,12 +696,12 @@ CHookManagerContainer &container = m_HookManContainers.GetContainer(hookManager.GetVtblOffs(), hookManager.GetVtblIdx(), hookManager.GetProto()); - CHookManagerContainer::iterator cont_iter = container.find(CHookManager::Descriptor(plug, pubFunc)); + CHookManagerContainer::iterator hookman_iter = container.find(CHookManager::Descriptor(plug, pubFunc)); - if (cont_iter != container.end()) + if (hookman_iter != container.end()) { - for (List::iterator vfnptr_iter = cont_iter->GetVfnPtrList().begin(); - vfnptr_iter != cont_iter->GetVfnPtrList().end(); ++vfnptr_iter) + for (List::iterator vfnptr_iter = hookman_iter->GetVfnPtrList().begin(); + vfnptr_iter != hookman_iter->GetVfnPtrList().end(); ++vfnptr_iter) { for (List::iterator iface_iter = vfnptr_iter->GetIfaceList().begin(); iface_iter != vfnptr_iter->GetIfaceList().end(); ++iface_iter)