diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
commit | 78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch) | |
tree | 8512c50df70b8dd80c919e88ade3419207c95956 /plugins/MirOTR/libgcrypt-1.4.6/src/global.c | |
parent | ce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff) |
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/libgcrypt-1.4.6/src/global.c')
-rw-r--r-- | plugins/MirOTR/libgcrypt-1.4.6/src/global.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/MirOTR/libgcrypt-1.4.6/src/global.c b/plugins/MirOTR/libgcrypt-1.4.6/src/global.c index a69513e7d5..7c73f14a99 100644 --- a/plugins/MirOTR/libgcrypt-1.4.6/src/global.c +++ b/plugins/MirOTR/libgcrypt-1.4.6/src/global.c @@ -167,7 +167,7 @@ parse_version_number( const char *s, int *number ) { int val = 0; - if( *s == '0' && isdigit(s[1]) ) + if ( *s == '0' && isdigit(s[1]) ) return NULL; /* leading zeros are not allowed */ for ( ; isdigit(*s); s++ ) { val *= 10; @@ -190,15 +190,15 @@ static const char * parse_version_string( const char *s, int *major, int *minor, int *micro ) { s = parse_version_number( s, major ); - if( !s || *s != '.' ) + if ( !s || *s != '.' ) return NULL; s++; s = parse_version_number( s, minor ); - if( !s || *s != '.' ) + if ( !s || *s != '.' ) return NULL; s++; s = parse_version_number( s, micro ); - if( !s ) + if ( !s ) return NULL; return s; /* patchlevel */ } @@ -788,7 +788,7 @@ _gcry_check_heap( const void *a ) /* FIXME: implement this*/ #if 0 - if( some_handler ) + if ( some_handler ) some_handler(a) else _gcry_private_check_heap(a) |