git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eafd0f
)
it could have never worked ...
author
Aleš Křenek
<ljocha@ics.muni.cz>
Fri, 11 Aug 2006 18:33:18 +0000
(18:33 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Fri, 11 Aug 2006 18:33:18 +0000
(18:33 +0000)
org.glite.lb.client/test/producer_test.cpp
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.client/test/producer_test.cpp
b/org.glite.lb.client/test/producer_test.cpp
index
c2199c5
..
33da719
100644
(file)
--- a/
org.glite.lb.client/test/producer_test.cpp
+++ b/
org.glite.lb.client/test/producer_test.cpp
@@
-55,14
+55,14
@@
private:
void log_proto_server(int con, char *logline) {
int i;
- char b[
4
];
+ char b[
5
];
char *buf;
ssize_t size, retsize;
// read DGLOG
retsize = read(con, b, 5);
CPPUNIT_ASSERT(retsize == 5);
- CPPUNIT_ASSERT(b[0] = 'D' && b[1] == 'G' && b[2] == 'L' && b[3] == 'O' && b[4] == 'G');
+ CPPUNIT_ASSERT(b[0] =
=
'D' && b[1] == 'G' && b[2] == 'L' && b[3] == 'O' && b[4] == 'G');
// read size (including '\0', little endian)
for (i = 0; i < 4; i++)