diff options
author | 2010-09-18 09:51:16 +0800 | |
---|---|---|
committer | 2010-09-18 09:51:16 +0800 | |
commit | c6372a1b3f56d7022f135b8f1baeaff44816ec7c (patch) | |
tree | 1e274b07fc1942d7f39d334771c7d621a164b15f /sanity.c | |
parent | 41b8db063c032c673e366d81bccf37022b9c1d4f (diff) |
remove trailing spaces
This is done by `sed -i -e 's/[ \t]*$//' *.[c,h]`, which should not
introduce any functionality change.
Diffstat (limited to 'sanity.c')
-rw-r--r-- | sanity.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -49,27 +49,27 @@ int sanity_check() kill_sanity_check(); if( !insane ) proc_sanity_check(); - + return insane; } void validate_pointer( const void *ptr, const wchar_t *err, int null_ok ) { - - /* - Test if the pointer data crosses a segment boundary. + + /* + Test if the pointer data crosses a segment boundary. */ - + if( (0x00000003l & (long)ptr) != 0 ) { debug( 0, _(L"The pointer '%ls' is invalid"), err ); - sanity_lose(); + sanity_lose(); } - + if((!null_ok) && (ptr==0)) { debug( 0, _(L"The pointer '%ls' is null"), err ); - sanity_lose(); + sanity_lose(); } } |