summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrafa_99 <rafa99@protonmail.com>2020-09-23 10:01:49 +0100
committerrafa_99 <rafa99@protonmail.com>2020-09-23 10:01:49 +0100
commite5b58fff841e419c8ebfda14640c106ec4898b0a (patch)
tree888f64a84295b289abef3b9e05c8545027bf7759
parent8771b02f37a762cbec63cc92dc313148d0f9b2a6 (diff)
Added Missing Space for Spaces between argument
-rw-r--r--utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index 24ff43f..c2087e1 100644
--- a/utils.c
+++ b/utils.c
@@ -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++ )
{