diff options
-rw-r--r-- | utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ int detectOsType() char* stringedArgument(int argc, char** argv) { int numberOfTotalPackages = argc - 2; - char* arg = (char *) calloc((numberOfTotalPackages * 80), sizeof(char)); + char* arg = (char *) calloc(((numberOfTotalPackages * 80) + numberOfTotalPackages), sizeof(char)); for( int i = 2; i < argc; i++ ) { |