[Webfunds-commits] java/webfunds/comms RawHttp.java

Ian Grigg iang@cypherpunks.ai
Fri, 6 Apr 2001 18:47:18 -0400 (AST)


iang        01/04/06 18:47:18

  Modified:    webfunds/comms RawHttp.java
  Log:
  better method sig

Revision  Changes    Path
1.9       +2 -2      java/webfunds/comms/RawHttp.java

Index: RawHttp.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/comms/RawHttp.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- RawHttp.java	2001/04/02 18:42:03	1.8
+++ RawHttp.java	2001/04/06 22:47:18	1.9
@@ -1,5 +1,5 @@
 /*
- * $Id: RawHttp.java,v 1.8 2001/04/02 18:42:03 iang Exp $
+ * $Id: RawHttp.java,v 1.9 2001/04/06 22:47:18 iang Exp $
  *
  * Copyright (c) 2000 Systemics Inc on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -209,7 +209,7 @@
         if (port <= 0)
             port = 80;
 
-        byte[] request = getGetData(page, host + ":" + port);
+        byte[] request = getGetData(page, host, port);
         Socket sock = SocketSupport.getSocket(host, port);
         byte[] buf = SocketSupport.getOnce(sock, request, 10240);
         byte[] output = getReply(buf);        // throws ReplyEx