mod_netconf: maintenance (doc, constant subst.)
diff --git a/src/mod_netconf.c b/src/mod_netconf.c
index e8fa4bd..eb05259 100644
--- a/src/mod_netconf.c
+++ b/src/mod_netconf.c
@@ -925,7 +925,7 @@
}
/**
- * Receive message from client and return pointer to it.
+ * Receive message from client over UNIX socket and return pointer to it.
* Caller should free message memory.
* \param[in] client socket descriptor of client
* \param[in] server httpd server for logging
@@ -1535,7 +1535,7 @@
ap_log_error (APLOG_MARK, APLOG_DEBUG, 0, server, "Send NC subscribe.");
/** \todo replace with sth like netconf_op(http_server, session_hash, rpc) */
- if (netconf_process_op(server, temp_session, rpc) != 0) {
+ if (netconf_process_op(server, temp_session, rpc) != EXIT_SUCCESS) {
ap_log_error (APLOG_MARK, APLOG_DEBUG, 0, server, "Subscription RPC failed.");
return create_error("Subscription RPC failed.");
}