hannesm / jackline

minimalistic secure XMPP client in OCaml
BSD 2-Clause "Simplified" License
250 stars 20 forks source link

fix "*** connecting ***" debug message to show actual hostname #127

Closed cfcs closed 8 years ago

cfcs commented 8 years ago

fix "* connecting * to ..." to display (hostname) rather than the server name (domain) from the jid

hannesm commented 8 years ago

doesn't compile.. .string option vs string (maybe Utils.option domain (fun x -> x) hostname to print hostname if it is some, otherwise domain, which must always be present)?

cfcs commented 8 years ago

Oops, sorry about that.

How about this one?

hannesm commented 8 years ago

thx, I removed the redundant information, and display only the actual host it resolved and is connecting to... (also, reworked that part slightly to avoid deadlock)