Changeset 5047:a9d6297fb8ca in roaraudio


Ignore:
Timestamp:
05/30/11 13:55:43 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

yet another NULL vs. 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/roard.c

    r5046 r5047  
    868868 
    869869#if defined(ROAR_HAVE_SETUID) && defined(ROAR_HAVE_IO_POSIX) 
    870   if ( user ) { 
     870  if ( user != NULL ) { 
    871871   if ( (pwd = getpwnam(user)) == NULL ) { 
    872872    ROAR_ERR("Can not get UID for user %s: %s", user, strerror(errno)); 
Note: See TracChangeset for help on using the changeset viewer.