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_include.h b/coregrind/vg_include.h
index b531183..a36b67d 100644
--- a/coregrind/vg_include.h
+++ b/coregrind/vg_include.h
@@ -151,9 +151,9 @@
    Command-line-settable options
    ------------------------------------------------------------------ */
 
-/* Default socket to be used in logging over a network, if none
-   specified. */
-#define VG_CLO_DEFAULT_LOGSOCKET 1500
+/* Default destination port to be used in logging over a network, if
+   none specified. */
+#define VG_CLO_DEFAULT_LOGPORT 1500
 
 /* The max number of suppression files. */
 #define VG_CLO_MAX_SFILES 10
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;