git: libutil: Miscellaneous cleanup.

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Oct 12 14:57:31 PDT 2009


commit a7c2f834bcea3319a0662e018a25850826e04b91
Author: Sascha Wildner <saw at online.de>
Date:   Mon Oct 12 23:56:15 2009 +0200

    libutil: Miscellaneous cleanup.
    
    * In setusercontext(), pwd is not guaranteed to be non-NULL if
      LOGIN_SETPRIORITY is in flags. Therefore, don't use it in the
      syslog() call.
    
    * Remove some dead assignments.

Summary of changes:
 lib/libutil/login_class.c |   16 ++++++----------
 lib/libutil/pw_util.c     |    5 ++---
 2 files changed, 8 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a7c2f834bcea3319a0662e018a25850826e04b91


-- 
DragonFly BSD source repository





More information about the Commits mailing list