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.");
 			}
diff --git a/src/mod_netconf.h b/src/mod_netconf.h
index b375403..7a4e32d 100644
--- a/src/mod_netconf.h
+++ b/src/mod_netconf.h
@@ -70,7 +70,7 @@
 	apr_array_header_t *notifications;
 	json_object *hello_message;
 	char ntfc_subscribed; /**< 0 when notifications are not subscribed */
-	char closed;; /**< 0 when session is terminated */
+	char closed; /**< 0 when session is terminated */
 	apr_time_t last_activity;
 	pthread_mutex_t lock; /**< mutex protecting the session from multiple access */
 };