Patch level :2.0 aga

Files correlati     :libs
Ricompilazione Demo : [ ]
Commento            :sistemati errori compilazione lib


git-svn-id: svn://10.65.10.50/trunk@10863 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2003-02-26 10:18:34 +00:00
parent 823587d73e
commit 583687af2b

View File

@ -4,6 +4,7 @@
#include <progind.h>
#include <config.h>
#include <agasys.h>
#include <utility.h>
// skstream.h
// Copyright (C) 1995, 1996 by John C. Wang. All Rights Reserved.
@ -854,7 +855,7 @@ bool TSocketClient::HttpSoap(CONNID id, const char* cmd)
return ok;
}
BOOL TSocketClient::HttpPostFile(CONNID id, const char* remote, const char* local, const char* authorization)
bool TSocketClient::HttpPostFile(CONNID id, const char* remote, const char* local, const char* authorization)
{
bool ok = false;
@ -871,7 +872,7 @@ BOOL TSocketClient::HttpPostFile(CONNID id, const char* remote, const char* loca
buf << "Authorization: " << authorization << "\r\n";
buf << "\r\n";
BOOL ok = conn->WriteLine(buf);
ok = conn->WriteLine(buf);
if (ok)
{
ifstream input(local, ios::nocreate | ios::binary);