commit 0a0b3ad62cf3a8f13ad496a5903aa10e8966344e parent 8e147424f5219f9d2372c89a7662d10eefbcc61c Author: Michael Savage <mikejsavage@gmail.com> Date: Fri Nov 18 21:15:15 +0200 Oops Diffstat:
http.cc | | | 2 | +- |
diff --git a/http.cc b/http.cc @@ -20,7 +20,7 @@ bool dns_first( const char * host, struct sockaddr_storage * address ) { hints.ai_socktype = SOCK_DGRAM; struct addrinfo * addresses; - int ok = getaddrinfo( "mikejsavage.co.uk", "http", &hints, &addresses ); + int ok = getaddrinfo( host, "http", &hints, &addresses ); if( ok != 0 ) { return false; }