~bratsche/xsplash/panel-above-0.7

« back to all changes in this revision

Viewing changes to src/xsplash.c

  • Committer: Cody Russell
  • Date: 2009-08-26 15:29:53 UTC
  • Revision ID: crussell@canonical.com-20090826152953-0is1hakcrr7qp735
useĀ NULLĀ instead

Show diffs side-by-side

added added

removed removed

Lines of Context:
645
645
  uid_t uid;
646
646
 
647
647
  pwd = getpwnam (XSPLASH_USER);
648
 
  if (pwd == (struct passwd*)0)
 
648
  if (pwd == NULL)
649
649
    {
650
650
      g_error ("Unknown user: %s", XSPLASH_USER);
651
651
      return 1;