diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-06 11:32:29 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-06 11:32:29 +0000 |
commit | 1ca0d3282eb7fd0872b93f18e4923b3f44f2f179 (patch) | |
tree | 3fe74ab2a59a6e2fc7ea35b993488cbc80d4135e /carg_parser.c | |
parent | Adding debian version 1.1-2. (diff) | |
download | clzip-1ca0d3282eb7fd0872b93f18e4923b3f44f2f179.tar.xz clzip-1ca0d3282eb7fd0872b93f18e4923b3f44f2f179.zip |
Merging upstream version 1.2.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'carg_parser.c')
-rw-r--r-- | carg_parser.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/carg_parser.c b/carg_parser.c index ff14a87..52c8658 100644 --- a/carg_parser.c +++ b/carg_parser.c @@ -1,5 +1,5 @@ -/* Arg_parser - A POSIX/GNU command line argument parser. (C version) - Copyright (C) 2006, 2007, 2008, 2009, 2010 Antonio Diaz Diaz. +/* Arg_parser - POSIX/GNU command line argument parser. (C version) + Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Antonio Diaz Diaz. This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -45,7 +45,8 @@ static char push_back_record( struct Arg_parser * const ap, { const int len = strlen( argument ); struct ap_Record *p; - void * tmp = ap_resize_buffer( ap->data, ( ap->data_size + 1 ) * sizeof (struct ap_Record) ); + void * tmp = ap_resize_buffer( ap->data, + ( ap->data_size + 1 ) * sizeof (struct ap_Record) ); if( !tmp ) return 0; ap->data = (struct ap_Record *)tmp; p = &(ap->data[ap->data_size]); |