[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [mpop-users] [PATCH 2/9] Use a single function to perform all replacements.
Hi!
A few comments on this patch. The change is fine with me, these are
just nitpicks (well, maybe except for the second point).
- The change in conf.c does not seem necessary?
- The error messages printed from expand_session_variables() should be
avoided: just leave trailing '%' and unsupported expansions in the
string.
- The step-logic in expand_session_variables() looks unusual. The idea
is to first count how much space you need, and do the actual
replacement in the second step?
Regards,
Martin