• A
    util: Make virStringArrayHasString() const-correct · 3edcf834
    Andrea Bolognani 提交于
    The first argument should be const char ** instead of
    char **, because this is a search function and as such it
    doesn't, and shouldn't, alter the haystack in any way.
    
    This change means we no longer have to cast arrays of
    immutable strings to arrays of mutable strings; we still
    have to do the opposite, though, but that's reasonable.
    3edcf834
lxc_native.c 30.9 KB