Ticket #3703 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

error processing

Reported by: dickest Owned by:
Priority: major Milestone: 4.8.19
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description (last modified by andrew_b) (diff)

Please replace (mc/lib/search/search.c):

GString *
mc_search_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str)
{
    GString *ret;

    if (lc_mc_search == NULL)
        return g_string_new_len (replace_str->str, replace_str->len);

    if (replace_str == NULL || replace_str->str == NULL || replace_str->len == 0)
        return g_string_new ("");

GString *
mc_search_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str)
{
    GString *ret;

    if (replace_str == NULL || replace_str->str == NULL || replace_str->len == 0)
        return g_string_new ("");


    if (lc_mc_search == NULL)
        return g_string_new_len (replace_str->str, replace_str->len);

Change History

comment:1 Changed 8 years ago by andrew_b

  • Description modified (diff)

comment:2 Changed 8 years ago by andrew_b

  • Description modified (diff)

comment:3 Changed 8 years ago by andrew_b

  • Description modified (diff)

comment:4 Changed 8 years ago by andrew_b

  • Blocked By 3693 added
  • Milestone changed from Future Releases to 4.8.19

comment:5 Changed 8 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to fixed
  • Blocked By 3693 removed
Note: See TracTickets for help on using tickets.