Skip to content

Commit

Permalink
Add a comment to prevent mind blowing
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-cerny committed Feb 19, 2019
1 parent bc6947e commit d9fc6b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/XCCDF_POLICY/xccdf_policy_remediate.c
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,10 @@ static int _xccdf_item_recursive_gather_selected_rules(struct xccdf_policy *poli
return ret;
}

/* Handles multiline strings in profile title and description.
* Puts a '#' at the beginning of each line.
* Also removes trailing and leading whitespaces on each line.
*/
static char *_comment_multiline_text(char *text)
{
if (text == NULL) {
Expand Down

0 comments on commit d9fc6b6

Please sign in to comment.