Lines 1-40
Link Here
|
1 |
--- src/adaptation/ecap/ServiceRep.cc.orig 2015-08-01 06:08:17 UTC |
|
|
2 |
+++ src/adaptation/ecap/ServiceRep.cc |
3 |
@@ -234,7 +234,7 @@ bool Adaptation::Ecap::ServiceRep::probe |
4 |
|
5 |
bool Adaptation::Ecap::ServiceRep::up() const |
6 |
{ |
7 |
- return theService != NULL; |
8 |
+ return theService; |
9 |
} |
10 |
|
11 |
bool Adaptation::Ecap::ServiceRep::wantsUrl(const String &urlPath) const |
12 |
--- src/adaptation/ecap/XactionRep.cc.orig 2015-08-01 06:08:17 UTC |
13 |
+++ src/adaptation/ecap/XactionRep.cc |
14 |
@@ -72,7 +72,7 @@ void |
15 |
Adaptation::Ecap::XactionRep::master(const AdapterXaction &x) |
16 |
{ |
17 |
Must(!theMaster); |
18 |
- Must(x != NULL); |
19 |
+ Must(x); |
20 |
theMaster = x; |
21 |
} |
22 |
|
23 |
@@ -259,7 +259,7 @@ Adaptation::Ecap::XactionRep::swanSong() |
24 |
// clear body_pipes, if any |
25 |
// this code does not maintain proxying* and canAccessVb states; should it? |
26 |
|
27 |
- if (theAnswerRep != NULL) { |
28 |
+ if (theAnswerRep) { |
29 |
BodyPipe::Pointer body_pipe = answer().body_pipe; |
30 |
if (body_pipe != NULL) { |
31 |
Must(body_pipe->stillProducing(this)); |
32 |
@@ -318,7 +318,7 @@ Adaptation::Ecap::XactionRep::cause() |
33 |
libecap::Message & |
34 |
Adaptation::Ecap::XactionRep::adapted() |
35 |
{ |
36 |
- Must(theAnswerRep != NULL); |
37 |
+ Must(theAnswerRep); |
38 |
return *theAnswerRep; |
39 |
} |
40 |
|