Ticket #3703 (new defect) — at Initial Version

Opened 5 years ago

Last modified 5 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

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);

Note: See TracTickets for help on using tickets.