Sun, 25 Mar 2007 20:22:52 +0000
These should return FALSE, not NULL, when NET_RT_DUMP2 isn't available; they return a gboolean, not a pointer.
| libpurple/nat-pmp.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/nat-pmp.c Sun Mar 25 17:04:27 2007 +0000 +++ b/libpurple/nat-pmp.c Sun Mar 25 20:22:52 2007 +0000 @@ -468,12 +468,12 @@ gboolean purple_pmp_create_map(PurplePmpType type, unsigned short privateport, unsigned short publicport, int lifetime) { - return NULL; + return FALSE; } gboolean purple_pmp_destroy_map(PurplePmpType type, unsigned short privateport) { - return NULL; + return FALSE; } #endif /* #ifndef NET_RT_DUMP2 */