[Bug 51033] Add support for see-other-host

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 19 16:19:50 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=51033

--- Comment #4 from Jonny Lamb <jonny.lamb at collabora.co.uk> 2012-06-19 07:19:50 PDT ---
+ p = g_strstr_len (host_and_port, -1, ":");
+ if (p != NULL)
+   p = g_strstr_len (p + 1, -1, ":");
+ if (p != NULL)
+   uri_format = "%s://[%s]";

It took me a little while to work out what you were actually checking for here.
Could you just add a small comment to point out you're looking for two ':'
chars please?

- /* properties: */
- GIOStream *stream;
-

Why are you removing this? It looks completely unrelated to the rest of the
patch. If it's unused feel free to remove it, but please split your patches.

I don't exactly understand what you are doing in the test but tbh if things
still test properly and stuff passes and your test case is being executed then
that's fine by me. :-)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list