ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r371807 - /webservices/axis2/trunk/c/test/core/clientapi/client.c
Date Tue, 24 Jan 2006 04:30:48 GMT
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)



Mime
View raw message