summaryrefslogtreecommitdiff
path: root/src/common/HPM.c
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2014-05-30 04:42:58 +0200
committerHaruna <haru@dotalux.com>2014-05-30 04:42:58 +0200
commit3def3af50a09d934f7a288e930aa3376b8c2d02f (patch)
tree1d683555f1567d429f0b21cad578bfb1629f22b0 /src/common/HPM.c
parentc3976d24500abc6084a4d96d60ae84c65302e3ae (diff)
parent0a4975ed611db7d1bcfe501008085e420e743128 (diff)
downloadhercules-3def3af50a09d934f7a288e930aa3376b8c2d02f.tar.gz
hercules-3def3af50a09d934f7a288e930aa3376b8c2d02f.tar.bz2
hercules-3def3af50a09d934f7a288e930aa3376b8c2d02f.tar.xz
hercules-3def3af50a09d934f7a288e930aa3376b8c2d02f.zip
Merge pull request #282 from MrKeiKun/fix_typo
Fixed some typo
Diffstat (limited to 'src/common/HPM.c')
-rw-r--r--src/common/HPM.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/HPM.c b/src/common/HPM.c
index d33a4c1aa..f39954175 100644
--- a/src/common/HPM.c
+++ b/src/common/HPM.c
@@ -410,7 +410,7 @@ void hplugins_addToHPData(enum HPluginDataTypes type, unsigned int pluginID, voi
*(action.hdatac) += 1;
RECREATE(*(action.HPDataSRCPtr),struct HPluginData *,*(action.hdatac));
- /* RECREATE modified the addresss */
+ /* RECREATE modified the address */
HPDataSRC = *(action.HPDataSRCPtr);
HPDataSRC[*(action.hdatac) - 1] = HPData;
}
@@ -578,7 +578,7 @@ void* HPM_reallocz(void *p, size_t size, const char *file, int line, const char
char* HPM_astrdup(const char *p, const char *file, int line, const char *func) {
return iMalloc->astrdup(p,HPM_file2ptr(file),line,func);
}
-/* todo: add ability for tracking using pID for the upcoming runtime load/unload support. */
+/* TODO: add ability for tracking using pID for the upcoming runtime load/unload support. */
bool HPM_AddHook(enum HPluginHookType type, const char *target, void *hook, unsigned int pID) {
if( !HPM->hooking ) {
ShowError("HPM:AddHook Fail! '%s' tried to hook to '%s' but HPMHooking is disabled!\n",HPM->pid2name(pID),target);