cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/src/main.c


From: Derek Robert Price
Subject: [Cvs-cvs] Changes to ccvs/src/main.c
Date: Sun, 04 Sep 2005 19:00:06 -0400

Index: ccvs/src/main.c
diff -u ccvs/src/main.c:1.248 ccvs/src/main.c:1.249
--- ccvs/src/main.c:1.248       Fri Sep  2 21:51:08 2005
+++ ccvs/src/main.c     Sun Sep  4 23:00:00 2005
@@ -29,9 +29,8 @@
 const char *global_session_id; /* Random session ID */
 
 char *hostname;
-#ifdef SERVER_SUPPORT
+/* FIXME: Perhaps this should be renamed original_hostname or the like?  */
 char *server_hostname;
-#endif /* SERVER_SUPPORT */
 
 int use_editor = 1;
 int use_cvsrc = 1;
@@ -849,13 +848,12 @@
             hostname = xstrdup ("localhost");
             
        }
-#ifdef SERVER_SUPPORT
-       /* Keep track of this separately since the client can change the
-        * hostname.
+
+       /* Keep track of this separately since the client can change
+        * HOSTNAME on the server.
         */
-       if (server_active)
-           server_hostname = xstrdup (hostname);
-#endif /* SERVER_SUPPORT */
+       server_hostname = xstrdup (hostname);
+
 
 #ifdef KLUDGE_FOR_WNT_TESTSUITE
        /* Probably the need for this will go away at some point once




reply via email to

[Prev in Thread] Current Thread [Next in Thread]