diff options
Diffstat (limited to '')
| -rw-r--r-- | src/m_gpg_info/GnuPGInfoGatheringModule.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/m_gpg_info/GnuPGInfoGatheringModule.cpp b/src/m_gpg_info/GnuPGInfoGatheringModule.cpp index 4f2a9a0..142a7d1 100644 --- a/src/m_gpg_info/GnuPGInfoGatheringModule.cpp +++ b/src/m_gpg_info/GnuPGInfoGatheringModule.cpp @@ -109,11 +109,8 @@ auto GFExecuteModule(GFModuleEvent *event) -> int { StartGatheringGnuPGInfo(); - char **event_argv = - static_cast<char **>(GFAllocateMemory(sizeof(char **) * 1)); - event_argv[0] = DUP("0"); - - GFModuleTriggerModuleEventCallback(event, GFGetModuleID(), 1, event_argv); + GFModuleTriggerModuleEventCallback(event, GFGetModuleID(), 1, + ConvertMapToParams({{"ret", "0"}})); MLogDebug("gnupg external info gathering done"); return 0; |
