openbsd-ports/net/gtk-gnutella/patches/patch-src_if_gnet_property_c
jasper f024b57a92 - update gtk-gnutella to 0.96.6
* lots of improvements and bugfixes
2009-04-27 11:57:18 +00:00

24 lines
1.4 KiB
Plaintext

$OpenBSD: patch-src_if_gnet_property_c,v 1.2 2009/04/27 11:57:18 jasper Exp $
--- src/if/gnet_property.c.orig Sun Mar 29 17:37:58 2009
+++ src/if/gnet_property.c Sun Apr 26 20:11:54 2009
@@ -417,8 +417,8 @@ gboolean gnet_property_variable_download_require_urn
static const gboolean gnet_property_variable_download_require_urn_default = FALSE;
gboolean gnet_property_variable_download_require_server_name = TRUE;
static const gboolean gnet_property_variable_download_require_server_name_default = TRUE;
-guint32 gnet_property_variable_max_ultrapeers = 3;
-static const guint32 gnet_property_variable_max_ultrapeers_default = 3;
+guint32 gnet_property_variable_max_ultrapeers = 4;
+static const guint32 gnet_property_variable_max_ultrapeers_default = 4;
guint32 gnet_property_variable_quick_connect_pool_size = 10;
static const guint32 gnet_property_variable_quick_connect_pool_size_default = 10;
guint32 gnet_property_variable_max_leaves = 150;
@@ -4286,7 +4286,7 @@ gnet_prop_init(void) {
gnet_property->props[182].data.guint32.def = (void *) &gnet_property_variable_max_ultrapeers_default;
gnet_property->props[182].data.guint32.value = (void *) &gnet_property_variable_max_ultrapeers;
gnet_property->props[182].data.guint32.choices = NULL;
- gnet_property->props[182].data.guint32.max = 4;
+ gnet_property->props[182].data.guint32.max = 64;
gnet_property->props[182].data.guint32.min = 0;