2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

standardize on "return foo;" rather than "return(foo);" or "return (foo);"

This commit is contained in:
Todd C. Miller
2011-01-24 15:15:18 -05:00
parent 3316ac8ebc
commit ae2f7638f5
68 changed files with 843 additions and 843 deletions

View File

@@ -53,7 +53,7 @@ get_timestr(time_t tstamp, int log_year)
/* strftime() does not guarantee to NUL-terminate so we must check. */
buf[sizeof(buf) - 1] = '\0';
if (strftime(buf, sizeof(buf), s, timeptr) && buf[sizeof(buf) - 1] == '\0')
return(buf);
return buf;
#endif /* HAVE_STRFTIME */
@@ -63,5 +63,5 @@ get_timestr(time_t tstamp, int log_year)
else
s[15] = '\0'; /* don't care about year */
return(s);
return s;
}