From e724e5d392b27f48e074412a2fd3efc5e8dc1f47 Mon Sep 17 00:00:00 2001 From: Daniel Thayer Date: Tue, 22 Oct 2013 13:46:09 -0500 Subject: [PATCH] Do not include documentation of commented-out items Some documentation of commented-out items was being output to HTML, which was causing that documentation to be merged with the documentation of the next item. Fixed by changing "##" to "#" so that the doc comments are not included in the HTML. --- scripts/base/frameworks/sumstats/cluster.bro | 4 ++-- scripts/base/utils/active-http.bro | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/base/frameworks/sumstats/cluster.bro b/scripts/base/frameworks/sumstats/cluster.bro index ed51a95e30..42311b8687 100644 --- a/scripts/base/frameworks/sumstats/cluster.bro +++ b/scripts/base/frameworks/sumstats/cluster.bro @@ -28,8 +28,8 @@ export { ## values for a sumstat. global cluster_ss_request: event(uid: string, ss_name: string, cleanup: bool); - ## Event sent by nodes that are collecting sumstats after receiving a - ## request for the sumstat from the manager. + # Event sent by nodes that are collecting sumstats after receiving a + # request for the sumstat from the manager. #global cluster_ss_response: event(uid: string, ss_name: string, data: ResultTable, done: bool, cleanup: bool); ## This event is sent by the manager in a cluster to initiate the diff --git a/scripts/base/utils/active-http.bro b/scripts/base/utils/active-http.bro index c289691a75..9f62e7bbaa 100644 --- a/scripts/base/utils/active-http.bro +++ b/scripts/base/utils/active-http.bro @@ -32,9 +32,11 @@ export { ## mind that you will probably need to set the *method* field ## to "POST" or "PUT". client_data: string &optional; - ## Arbitrary headers to pass to the server. Some headers - ## will be included by libCurl. + + # Arbitrary headers to pass to the server. Some headers + # will be included by libCurl. #custom_headers: table[string] of string &optional; + ## Timeout for the request. max_time: interval &default=default_max_time; ## Additional curl command line arguments. Be very careful