Skip to content
  • Thomas Haller's avatar
    all: don't use static buffer for nm_utils_inet*_ntop() · a51c09dc
    Thomas Haller authored
    While nm_utils_inet*_ntop() accepts a %NULL buffer to fallback
    to a static buffer, don't do that.
    
    I find the possibility of using a static buffer here error prone
    and something that should be avoided. There is of course the downside,
    that in some cases it requires an additional line of code to allocate
    the buffer on the stack as auto-variable.
    a51c09dc