diff options
author | Werner Koch <[email protected]> | 2011-02-04 11:57:53 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2011-02-04 11:57:53 +0000 |
commit | b008274afdbe375b32a7e66dbd073e200f6f0587 (patch) | |
tree | 219e239d39cf06be3f03aa82fb572080ac163a15 /common/init.c | |
parent | Let autogen.sh check the git config (diff) | |
download | gnupg-b008274afdbe375b32a7e66dbd073e200f6f0587.tar.gz gnupg-b008274afdbe375b32a7e66dbd073e200f6f0587.zip |
Nuked almost all trailing white space.post-nuke-of-trailing-ws
We better do this once and for all instead of cluttering all future
commits with diffs of trailing white spaces. In the majority of cases
blank or single lines are affected and thus this change won't disturb
a git blame too much. For future commits the pre-commit scripts
checks that this won't happen again.
Diffstat (limited to 'common/init.c')
-rw-r--r-- | common/init.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/common/init.c b/common/init.c index de79a14c4..bcb0cd4ea 100644 --- a/common/init.c +++ b/common/init.c @@ -27,7 +27,7 @@ #ifdef HAVE_W32_SYSTEM #include <windows.h> #endif -#ifdef HAVE_PTH +#ifdef HAVE_PTH #include <pth.h> #endif #ifdef HAVE_W32CE_SYSTEM @@ -79,7 +79,7 @@ void init_common_subsystems (int *argcp, char ***argvp) { /* Try to auto set the character set. */ - set_native_charset (NULL); + set_native_charset (NULL); #ifdef HAVE_W32_SYSTEM /* For W32 we need to initialize the socket layer. This is because @@ -92,12 +92,12 @@ init_common_subsystems (int *argcp, char ***argvp) # else { WSADATA wsadat; - + WSAStartup (0x202, &wsadat); } # endif /*!HAVE_PTH*/ #endif - + #ifdef HAVE_W32CE_SYSTEM /* Register the sleep exit function before the estream init so that the sleep will be called after the estream registered atexit @@ -173,7 +173,7 @@ parse_std_file_handles (int *argcp, char ***argvp) s = *argv; if (*s == '-' && s[1] == '&' && s[2] == 'S' && (s[3] == '0' || s[3] == '1' || s[3] == '2') - && s[4] == '=' + && s[4] == '=' && (strchr ("-01234567890", s[5]) || !strcmp (s+5, "null"))) { if (s[5] == 'n') @@ -200,6 +200,6 @@ parse_std_file_handles (int *argcp, char ***argvp) argv[i] = NULL; } - + } #endif /*HAVE_W32CE_SYSTEM*/ |