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:
448a9cb
)
merge -j 1.2 -j 1.2.18.1 to compile
author
Aleš Křenek
<ljocha@ics.muni.cz>
Wed, 27 Sep 2006 14:48:27 +0000
(14:48 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Wed, 27 Sep 2006 14:48:27 +0000
(14:48 +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++)