summaryrefslogtreecommitdiff
path: root/task5.c
diff options
context:
space:
mode:
Diffstat (limited to 'task5.c')
-rw-r--r--task5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/task5.c b/task5.c
index c2c72d0..f110e30 100644
--- a/task5.c
+++ b/task5.c
@@ -9,7 +9,7 @@ void main()
char *result = malloc(strlen(stanze));
char *printable = malloc(strlen(stanze)*5);
- xor_string(stanze, "ICE", result);
+ xor_string(stanze, "ICE", result, 3, strlen(stanze));
hex_binary_to_string(result, printable, 2*strlen(stanze));
printf("%s\n", printable);
}