diff options
author | Peter Baumann <p.baumann@jacobs-university.de> | 2010-09-01 15:46:16 +0200 |
---|---|---|
committer | www-data <www-data@ubuntu.localdomain> | 2010-10-31 13:30:15 +0100 |
commit | e5ffea47516a6e4c646a22f56adfeb46b072c9ca (patch) | |
tree | 5a136a2d4ccc1023daad60a2c6f91fbe5576d99a /server | |
parent | 854f1ead35453013a7806fb835221982c9af6214 (diff) | |
download | rasdaman-upstream-e5ffea47516a6e4c646a22f56adfeb46b072c9ca.tar.gz rasdaman-upstream-e5ffea47516a6e4c646a22f56adfeb46b072c9ca.tar.xz rasdaman-upstream-e5ffea47516a6e4c646a22f56adfeb46b072c9ca.zip |
replace NULL by empty string to avoid crash during trace output
Diffstat (limited to 'server')
-rw-r--r-- | server/rasserver_config.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/rasserver_config.cc b/server/rasserver_config.cc index 1b5730d..a72c9cd 100644 --- a/server/rasserver_config.cc +++ b/server/rasserver_config.cc @@ -91,11 +91,11 @@ void Configuration::initParameters() cmlPort = &cmlInter.addStringParameter(NSN, "lport", "<nnnn> rasserver listen port (RPC or HTTP)"); cmlMgr = &cmlInter.addStringParameter(NSN, "mgr", "<mgr-host> name of RasMGR host", DEFAULT_HOSTNAME); cmlMgrPort = &cmlInter.addLongParameter(NSN, "mgrport", "<nnnn> port of RasMGR", DEFAULT_PORT ); - cmlMgrSync = &cmlInter.addStringParameter(NSN, "sync", NULL); // deprecated + cmlMgrSync = &cmlInter.addStringParameter(NSN, "sync", ""); // deprecated cmlTransBuffer = &cmlInter.addLongParameter(NSN, "transbuffer", "<nnnn> maximal size of the transfer buffer in bytes", MAX_BUFFER_SIZE); cmlTimeOut = &cmlInter.addLongParameter(NSN, "timeout", "<nnn> client time out in seconds.\n\t\tif it is set to 0 server doesn't check for client timeouts", CLIENT_TIMEOUT); - cmlMgmntInt = &cmlInter.addStringParameter(NSN, "mgmntint", NULL); // deprecated + cmlMgmntInt = &cmlInter.addStringParameter(NSN, "mgmntint", ""); // deprecated cmlHttp = &cmlInter.addFlagParameter(NSN, "http", "start HTTP version of rasserver"); cmlRnp = &cmlInter.addFlagParameter(NSN, "rnp", "start RNP version of rasserver"); |