Mercurial > pidgin
changeset 15921:8bea220c0997
These should return FALSE, not NULL, when NET_RT_DUMP2 isn't available; they return a gboolean, not a pointer.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Sun, 25 Mar 2007 20:22:52 +0000 |
parents | d7feace39800 |
children | b4086a92568f e058328dc954 |
files | libpurple/nat-pmp.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 */