From: <ny...@us...> - 2006-06-02 22:52:44
|
Revision: 24 Author: nyaochi Date: 2006-06-02 15:52:34 -0700 (Fri, 02 Jun 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=24&view=rev Log Message: ----------- Fixed a typo. Modified Paths: -------------- trunk/frontend/easypmp/cui/main.c trunk/lib/pmp/pmp_posix.c Modified: trunk/frontend/easypmp/cui/main.c =================================================================== --- trunk/frontend/easypmp/cui/main.c 2006-06-02 22:28:30 UTC (rev 23) +++ trunk/frontend/easypmp/cui/main.c 2006-06-02 22:52:34 UTC (rev 24) @@ -157,6 +157,7 @@ case EASYPMPPLP_END: break; } + fflush(fpe); return 0; } @@ -286,9 +287,9 @@ } // Create a PMP instance. - pmphelp_create(pmphelp, &pmp, opt.path_to_root, opt.model); + ret = pmphelp_create(pmphelp, &pmp, opt.path_to_root, opt.model); if (!pmp) { - fprintf(fpe, "Failed to find a player\n"); + fprintf(fpe, "Failed to find a player (%d)\n", ret); return 1; } Modified: trunk/lib/pmp/pmp_posix.c =================================================================== --- trunk/lib/pmp/pmp_posix.c 2006-06-02 22:28:30 UTC (rev 23) +++ trunk/lib/pmp/pmp_posix.c 2006-06-02 22:52:34 UTC (rev 24) @@ -111,7 +111,7 @@ pmphelp_posix_t* pmphelpposix = (pmphelp_posix_t*)pmphelp; uint32_t i; for (i = 0;i < pmphelpposix->num_plugins;++i) { - pmp_enumerate_devid_t func = (pmp_enumerate_devid_t)lt_dlsym(pmphelpw32->plugins[i], "pmp_enumerate_devid"); + pmp_enumerate_devid_t func = (pmp_enumerate_devid_t)lt_dlsym(pmphelpposix->plugins[i], "pmp_enumerate_devid"); if (func) { func(callback, instance); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |