Skip to content
Snippets Groups Projects
Commit f9ae0522 authored by Luigi Rizzo's avatar Luigi Rizzo
Browse files

main is called main not amain!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent a9395206
Branches
Tags
No related merge requests found
......@@ -13,7 +13,7 @@ int main(int argc, char *argv[])
main_f ast_main = NULL;
void *handle = dlopen("asterisk.dll", 0);
if (handle)
ast_main = (main_f)dlsym(handle, "amain");
ast_main = (main_f)dlsym(handle, "main");
if (ast_main)
return ast_main(argc, argv);
fprintf(stderr, "could not load asterisk, %s\n", dlerror());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment