Changeset dcfcfffba3a8619a404899e11101c53b8a2d48c6

Show
Ignore:
Timestamp:
12/04/11 01:36:48 (2 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1322962608 -0500
git-parent:

[9d92fd6e7f517697099fa55c5aa32bd67d1d3e9e]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1322962608 -0500
Message:

Fix detection of uinteger

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/utils/noit_security.c

    r7b28cc8 rdcfcfff  
    5858  if (user == NULL || *user == '\0' || isblank(*user)) return 0; 
    5959  if (strtol (user, &cp, 10) < 0) return 0; 
    60   return (cp == '\0'); 
     60  return (*cp == '\0'); 
    6161} 
    6262static struct passwd *