You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2006/01/24 05:30:48 UTC
svn commit: r371807 - /webservices/axis2/trunk/c/test/core/clientapi/client.c
Author: damitha
Date: Mon Jan 23 20:30:44 2006
New Revision: 371807
URL: http://svn.apache.org/viewcvs?rev=371807&view=rev
Log: (empty)
Modified:
webservices/axis2/trunk/c/test/core/clientapi/client.c
Modified: webservices/axis2/trunk/c/test/core/clientapi/client.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/core/clientapi/client.c?rev=371807&r1=371806&r2=371807&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/core/clientapi/client.c (original)
+++ webservices/axis2/trunk/c/test/core/clientapi/client.c Mon Jan 23 20:30:44 2006
@@ -30,8 +30,6 @@
struct sockaddr_in serv_addr;
struct hostent *server;
struct stat buf;
-
-
char *buffer;
portno = atoi(port);
@@ -52,9 +50,7 @@
if (connect(sockfd,&serv_addr,sizeof(serv_addr)) < 0)
error("ERROR connecting");
- int tmp;
- tmp = stat("soap_req", &buf);
- printf("%d\n", buf.st_size);
+ stat("soap_req", &buf);
buffer = (char *) malloc(buf.st_size* sizeof(char));
int fd = open("soap_req", O_RDONLY,0);
if (fd == -1)