diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/sp_utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sp_utils.c b/src/sp_utils.c index 8129f6b..54a8e1b 100644 --- a/src/sp_utils.c +++ b/src/sp_utils.c | |||
| @@ -320,6 +320,8 @@ int hook_function(const char* original_name, HashTable* hook_table, | |||
| 320 | return FAILURE; | 320 | return FAILURE; |
| 321 | } | 321 | } |
| 322 | func->handler = new_function; | 322 | func->handler = new_function; |
| 323 | } else { | ||
| 324 | return SUCCESS; | ||
| 323 | } | 325 | } |
| 324 | } | 326 | } |
| 325 | 327 | ||
