Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
palo_olap
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
palo_olap
Commits
87dc0492
Commit
87dc0492
authored
Dec 21, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compilation problems
parent
694539db
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
Library/Intervals/IntervalSet.h
Library/Intervals/IntervalSet.h
+1
-1
UnitTests/HttpClient/HttpClient.cpp
UnitTests/HttpClient/HttpClient.cpp
+5
-5
UnitTests/HttpClient/TestHttpClient.cpp
UnitTests/HttpClient/TestHttpClient.cpp
+1
-0
No files found.
Library/Intervals/IntervalSet.h
View file @
87dc0492
...
...
@@ -74,7 +74,7 @@ public:
void
addInterval
(
const
Interval
<
T
>
&
interval
)
{
insert
(
interval
);
this
->
insert
(
interval
);
typename
IntervalSetType
::
const_iterator
it
=
this
->
begin
();
m_start
=
(
*
it
).
start
();
...
...
UnitTests/HttpClient/HttpClient.cpp
View file @
87dc0492
...
...
@@ -164,7 +164,7 @@ bool HttpClient::connect ()
if
(
res
<
0
)
{
::
closesocket
(
fd
);
//
::closesocket(fd);
lastError
=
CANNOT_CONNECT
;
setLastErrorMessage
(
errno
);
return
false
;
...
...
@@ -176,7 +176,7 @@ bool HttpClient::connect ()
if
(
res
!=
0
)
{
::
closesocket
(
fd
);
//
::closesocket(fd);
lastError
=
NO_DELAY_FAILED
;
setLastErrorMessage
(
errno
);
return
false
;
...
...
@@ -322,7 +322,7 @@ bool HttpClient::send (const string& message)
}
else
{
::
closesocket
(
fd
);
//
::closesocket(fd);
lastError
=
WRITE_FAILED
;
setLastErrorMessage
(
errno
);
connected
=
false
;
...
...
@@ -400,7 +400,7 @@ bool HttpClient::receive ()
}
else
{
::
closesocket
(
fd
);
//
::closesocket(fd);
lastError
=
READ_FAILED
;
setLastErrorMessage
(
errno
);
connected
=
false
;
...
...
@@ -410,7 +410,7 @@ bool HttpClient::receive ()
}
else
if
(
nr
==
0
)
{
::
closesocket
(
fd
);
//
::closesocket(fd);
lastError
=
READ_FAILED
;
setLastErrorMessage
(
errno
);
connected
=
false
;
...
...
UnitTests/HttpClient/TestHttpClient.cpp
View file @
87dc0492
...
...
@@ -45,6 +45,7 @@
#include <iostream>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
using
namespace
std
;
using
namespace
triagens
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment