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:
parent
823587d73e
commit
583687af2b
@ -4,6 +4,7 @@
|
|||||||
#include <progind.h>
|
#include <progind.h>
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <agasys.h>
|
#include <agasys.h>
|
||||||
|
#include <utility.h>
|
||||||
|
|
||||||
// skstream.h
|
// skstream.h
|
||||||
// Copyright (C) 1995, 1996 by John C. Wang. All Rights Reserved.
|
// 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;
|
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;
|
bool ok = false;
|
||||||
|
|
||||||
@ -871,7 +872,7 @@ BOOL TSocketClient::HttpPostFile(CONNID id, const char* remote, const char* loca
|
|||||||
buf << "Authorization: " << authorization << "\r\n";
|
buf << "Authorization: " << authorization << "\r\n";
|
||||||
buf << "\r\n";
|
buf << "\r\n";
|
||||||
|
|
||||||
BOOL ok = conn->WriteLine(buf);
|
ok = conn->WriteLine(buf);
|
||||||
if (ok)
|
if (ok)
|
||||||
{
|
{
|
||||||
ifstream input(local, ios::nocreate | ios::binary);
|
ifstream input(local, ios::nocreate | ios::binary);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user