Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-09-25 07:51:51 +0400
committerChristopher Faylor <me@cgf.cx>2003-09-25 07:51:51 +0400
commitcd2bce7142ff77e1e55149e5edfe04167b4e8964 (patch)
treeed32cb9d466d766149964a60b3707a1fda5a7c42 /winsup/cygwin/sec_helper.cc
parentdbf193cea8ca484b09053d328bce58238168ef15 (diff)
* include/tzfile.h: Add some missing entries.
Diffstat (limited to 'winsup/cygwin/sec_helper.cc')
-rw-r--r--winsup/cygwin/sec_helper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sec_helper.cc b/winsup/cygwin/sec_helper.cc
index 670e19bb1..040760685 100644
--- a/winsup/cygwin/sec_helper.cc
+++ b/winsup/cygwin/sec_helper.cc
@@ -163,7 +163,7 @@ cygsid::getfromstr (const char *nsidstr)
if (nsidstr && !strncmp (nsidstr, "S-1-", 4))
{
s = strtoul (nsidstr + 4, &lasts, 10);
- while ( cnt < 8 && *lasts == '-')
+ while (cnt < 8 && *lasts == '-')
r[cnt++] = strtoul (lasts + 1, &lasts, 10);
if (!*lasts)
return get_sid (s, cnt, r);