Skip to content
  • Thomas Haller's avatar
    cli: rework DEFINE_SETTER_PRIV_KEY() · 97acd737
    Thomas Haller authored
    nmc_strsplit_set()'s max_token argument is broken,
    because it *first* calls g_strsplit_set() and then removes
    empty tokens. It wasn't an issue, because DEFINE_SETTER_PRIV_KEY()
    would first already remove leading spaces, and who uses multiple
    spaces anyway...
    
    Anyway, refactor DEFINE_SETTER_PRIV_KEY() to not use it.
    97acd737