Update of /cvsroot/syncml-ctoolkit/toolkit/src/xpt/bindings/http/all
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17505/src/xpt/bindings/http/all
Modified Files:
httptrans.c xpt-http.c
Log Message:
Added -Wall to CFLAGS, Removed unused variables and functions
Index: httptrans.c
===================================================================
RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/xpt/bindings/http/all/httptrans.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** httptrans.c 15 Sep 2003 12:52:25 -0000 1.3
--- httptrans.c 7 Apr 2004 06:51:07 -0000 1.4
***************
*** 50,56 ****
// %%% luz: required for sprintf
- #ifdef __MWERKS__
#include <stdio.h>
- #endif
#include "httpserverports.h"
--- 50,54 ----
***************
*** 69,76 ****
#endif
- #ifdef WIN32
- #include <stdio.h> // for sprintf
- #endif
-
/*---------------------------------*/
#ifdef LINK_TRANSPORT_STATICALLY
--- 67,70 ----
***************
*** 144,148 ****
TcpRc_t rc;
- HttpTransportInfoPtr_t transInfo = ( HttpTransportInfoPtr_t )privateTransportInfo;
HttpTransportServiceInfoPtr_t info = NULL;
--- 138,141 ----
Index: xpt-http.c
===================================================================
RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/xpt/bindings/http/all/xpt-http.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** xpt-http.c 3 Apr 2004 12:05:11 -0000 1.4
--- xpt-http.c 7 Apr 2004 06:51:07 -0000 1.5
***************
*** 418,422 ****
HttpAuthenticationDest_t dest)
{
- unsigned int cbHeaderSize = p->cbCacheSize - p->cbCacheUsed;
HttpAuthenticationType_t fType = authGetType (auth, dest);
const char *pszURI;
--- 418,421 ----
***************
*** 1864,1869 ****
else
{
- BufferSize_t cbDataToCopy = min (p->cbCacheUsed, p->cbDataToRead);
- BufferSize_t cbSourceDataProcessed = cbDataToCopy;
BufferSize_t cbBytesCopied = 0;
BufferSize_t cbBytes = p->cbCacheUsed;
--- 1863,1866 ----
|