Revision 027f65b8a9c14b727e5e81ac3062dce6bfe6c5c0
markdoliner at pidgin.im
markdoliner at pidgin.im
Sat Mar 24 20:54:27 EDT 2007
o -----------------------------------------------------------------
| Revision: 027f65b8a9c14b727e5e81ac3062dce6bfe6c5c0
| Ancestor: 433a35a08ab23b80597f5113aefac097640bc4a2
| Author: markdoliner at pidgin.im
| Date: 2007-03-25T00:50:43
| Branch: im.pidgin.pidgin
|
| Modified files:
| libpurple/network.c
|
| ChangeLog:
|
| Whitespace and make sure stuff is #defined to an actual value.
| I feel some some pickier compilers have problems with that.
|
| ============================================================
| --- libpurple/network.c 22f861524940bdc880af8206d89ca394c3875e94
| +++ libpurple/network.c 769d07016c6a436271d7ed695e6d43c01206cb45
| @@ -47,7 +47,7 @@
| #include "stun.h"
| #include "upnp.h"
|
| -/* #define ENABLE_NAT_PMP */
| +/* #define ENABLE_NAT_PMP 1 */
|
| #ifdef ENABLE_NAT_PMP
| #include "nat-pmp.h"
| @@ -199,7 +199,7 @@ purple_network_get_my_ip(int fd)
| return ip;
|
| #ifdef ENABLE_NAT_PMP
| - /* Attempt to ge tthe IP from a NAT device using NAT-PMP */
| + /* Attempt to get the IP from a NAT device using NAT-PMP */
| ip = purple_pmp_get_public_ip();
| if (ip != NULL)
| return ip;
| @@ -255,9 +255,9 @@ purple_network_finish_pmp_map_cb(gpointe
| purple_network_finish_pmp_map_cb(gpointer data)
| {
| PurpleNetworkListenData *listen_data;
| -
| +
| listen_data = data;
| -
| +
| if (listen_data->cb)
| listen_data->cb(listen_data->listenfd, listen_data->cb_data);
|
| @@ -353,7 +353,7 @@ purple_network_do_listen(unsigned short
| actual_port = purple_network_get_port_from_fd(listenfd);
|
| purple_debug_info("network", "Listening on port: %hu\n", actual_port);
| -
| +
| listen_data = g_new0(PurpleNetworkListenData, 1);
| listen_data->listenfd = listenfd;
| listen_data->adding = TRUE;
To get the patch for this revision, please do this:
mtn log --last 1 --diffs --from 027f65b8a9c14b727e5e81ac3062dce6bfe6c5c0
More information about the Commits
mailing list