~ubuntu-branches/ubuntu/trusty/syslog-ng/trusty-proposed

« back to all changes in this revision

Viewing changes to modules/dbparser/patterndb.c

  • Committer: Package Import Robot
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2013-05-26 09:06:21 UTC
  • mfrom: (1.3.11)
  • Revision ID: package-import@ubuntu.com-20130526090621-8z2s0oi21eoljb9x
Tags: 3.3.9-1
* New upstream release.
* Include missed ivykis header (closes: #708793).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1099
1099
    }
1100
1100
  else if (state->in_tag)
1101
1101
    {
 
1102
      if (!state->in_rule)
 
1103
        {
 
1104
          *error = g_error_new(1, 0, "Unexpected <tag> element, must be within a rule");
 
1105
          return;
 
1106
        }
1102
1107
      pdb_message_add_tag(state->current_message, text);
1103
1108
    }
1104
1109
  else if (state->value_name)
1105
1110
    {
 
1111
      if (!state->in_rule)
 
1112
        {
 
1113
          *error = g_error_new(1, 0, "Unexpected <value> element, must be within a rule");
 
1114
          return;
 
1115
        }
1106
1116
      if (!state->current_message->values)
1107
1117
        state->current_message->values = g_ptr_array_new();
1108
1118