summaryrefslogtreecommitdiff
path: root/src/XmlRpcMethod.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/XmlRpcMethod.cc')
-rw-r--r--src/XmlRpcMethod.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XmlRpcMethod.cc b/src/XmlRpcMethod.cc
index 9bc0c534..cb43470b 100644
--- a/src/XmlRpcMethod.cc
+++ b/src/XmlRpcMethod.cc
@@ -101,7 +101,7 @@ void gatherOption
} else {
SharedHandle<OptionHandler> optionHandler =
optionParser->findByName(optionName);
- if(optionHandler.isNull()) {
+ if(!optionHandler) {
throw DL_ABORT_EX
(StringFormat
("We don't know how to deal with %s option",