From: <sb...@us...> - 2008-02-06 00:00:47
|
Revision: 1342 http://iaxclient.svn.sourceforge.net/iaxclient/?rev=1342&view=rev Author: sbalea Date: 2008-02-05 16:00:52 -0800 (Tue, 05 Feb 2008) Log Message: ----------- Fix return values in a couple of functions (eliminate some compile warnings) Modified Paths: -------------- trunk/lib/iaxclient.h trunk/lib/iaxclient_lib.c Modified: trunk/lib/iaxclient.h =================================================================== --- trunk/lib/iaxclient.h 2008-02-05 23:56:33 UTC (rev 1341) +++ trunk/lib/iaxclient.h 2008-02-06 00:00:52 UTC (rev 1342) @@ -1372,7 +1372,7 @@ Sets the IAX debug set to \a enable. \param enable If non-zero enable iax protocol debugging */ -EXPORT int iaxc_debug_iax_set(int enable); +EXPORT void iaxc_debug_iax_set(int enable); #ifdef __cplusplus } Modified: trunk/lib/iaxclient_lib.c =================================================================== --- trunk/lib/iaxclient_lib.c 2008-02-05 23:56:33 UTC (rev 1341) +++ trunk/lib/iaxclient_lib.c 2008-02-06 00:00:52 UTC (rev 1342) @@ -1241,7 +1241,7 @@ EXPORT int iaxc_register(const char * user, const char * pass, const char * host) { - iaxc_register_ex(user, pass, host, 60); + return iaxc_register_ex(user, pass, host, 60); } EXPORT int iaxc_register_ex(const char * user, const char * pass, const char * host, int refresh) @@ -1967,13 +1967,13 @@ return 0; } -int iaxc_debug_iax_set(int enable) +void iaxc_debug_iax_set(int enable) { #ifdef DEBUG_SUPPORT if (enable) iax_enable_debug(); else iax_disable_debug(); -#endif +#endif } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |