Rename VG_CLO_DEFAULT_LOGSOCKET to VG_CLO_DEFAULT_LOGPORT.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1277 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_mylibc.c b/coregrind/vg_mylibc.c
index aea7c63..d828569 100644
--- a/coregrind/vg_mylibc.c
+++ b/coregrind/vg_mylibc.c
@@ -1500,14 +1500,14 @@
-1 if there is a parse error
-2 if no parse error, but specified host:port cannot be opened
the relevant file (socket) descriptor, otherwise.
- If no socket is specified, VG_CLO_DEFAULT_LOGSOCKET is used.
+ is used.
*/
Int VG_(connect_via_socket)( UChar* str )
{
Int sd, res;
struct vki_sockaddr_in servAddr;
UInt ip = 0;
- UShort port = VG_CLO_DEFAULT_LOGSOCKET;
+ UShort port = VG_CLO_DEFAULT_LOGPORT;
Bool ok = parse_inet_addr_and_port(str, &ip, &port);
if (!ok)
return -1;