49:9e0f26f020e1 | 50:874bbfa55da8 |
---|---|
802 { | 802 { |
803 g_address = IPAddress::from_string (current_input()); | 803 g_address = IPAddress::from_string (current_input()); |
804 } | 804 } |
805 catch (std::exception& e) | 805 catch (std::exception& e) |
806 { | 806 { |
807 print (e.what()); | 807 print ("%1\n", e.what()); |
808 return; | 808 return; |
809 } | 809 } |
810 | 810 |
811 if (g_address.port == 0) | 811 if (g_address.port == 0) |
812 g_address.port = 10666; | 812 g_address.port = 10666; |
931 { | 931 { |
932 g_address = IPAddress::from_string (address); | 932 g_address = IPAddress::from_string (address); |
933 } | 933 } |
934 catch (std::exception& e) | 934 catch (std::exception& e) |
935 { | 935 { |
936 print (e.what()); | 936 print ("%1\n", e.what()); |
937 return; | 937 return; |
938 } | 938 } |
939 | 939 |
940 if (g_address.port == 0) | 940 if (g_address.port == 0) |
941 g_address.port = 10666; | 941 g_address.port = 10666; |