[svn-commits] rizzo: trunk r89378 - /trunk/main/cygload.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat Nov 17 06:44:22 CST 2007


Author: rizzo
Date: Sat Nov 17 06:44:22 2007
New Revision: 89378

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89378
Log:
main is called main not amain!


Modified:
    trunk/main/cygload.c

Modified: trunk/main/cygload.c
URL: http://svn.digium.com/view/asterisk/trunk/main/cygload.c?view=diff&rev=89378&r1=89377&r2=89378
==============================================================================
--- trunk/main/cygload.c (original)
+++ trunk/main/cygload.c Sat Nov 17 06:44:22 2007
@@ -13,7 +13,7 @@
 	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());




More information about the svn-commits mailing list