changeset 329:c0988ab45afd

#ifdef out the policy probe.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 14 Jun 2011 10:45:40 +0300
parents a8bda904846c
children 8e509d6546d3
files nnchat.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nnchat.c	Tue Jun 14 09:02:01 2011 +0300
+++ b/nnchat.c	Tue Jun 14 10:45:40 2011 +0300
@@ -1451,6 +1451,7 @@
     }
     printMsg(currWin, "True hostname: %s\n", tmpHost->h_name);
 
+#ifdef FINAL_BUILD
     /* To emulate the official client, we first make a request for
      * policy file, even though we don't use it for anything...
      */
@@ -1473,6 +1474,7 @@
         }
     }
     nn_conn_close(conn);
+#endif
 
     /* Okay, now do the proper connection ... */
     conn = nn_conn_open((struct in_addr *) tmpHost->h_addr, optPort);