[telepathy-gabble/master] GabbleConnection:port should be [1, G_MAXUINT16]
Will Thompson
will.thompson at collabora.co.uk
Mon Jun 29 04:07:22 PDT 2009
GabbleCM checks that the port parameter is nonzero before setting it, so
this is safe and correct.
---
src/connection.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/connection.c b/src/connection.c
index b2b51a9..8889867 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -665,7 +665,7 @@ gabble_connection_class_init (GabbleConnectionClass *gabble_connection_class)
g_param_spec_uint (
"port", "Jabber server port",
"The port used when establishing a connection.",
- 0, G_MAXUINT16, 5222,
+ 1, G_MAXUINT16, 5222,
G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class, PROP_OLD_SSL,
--
1.5.6.5
More information about the telepathy-commits
mailing list