• Thomas Haller's avatar
    keyfile: various refactoring and restructure nm_keyfile_read() · 269c15e8
    Thomas Haller authored
    - in nm_keyfile_read(), unify _read_setting() and
      _read_setting_vpn_secret() in they way they are called
      (that is, they no longer return any value and don't accept
      any arguments aside @info).
    
    - use cleanup attributes
    
    - use nm_streq() instead of strcmp().
    
    - wrap lines that have multiple statements or conditions.
    269c15e8
nm-keyfile.c 96.4 KB