summaryrefslogtreecommitdiff
path: root/task5.c
diff options
context:
space:
mode:
authorBenedict <benedict@0xb8000.de>2016-03-04 12:45:40 +0100
committerBenedict <benedict@0xb8000.de>2017-02-21 13:00:24 +0100
commit14e3b0e4f801f6fdbd6be941a2022e4e665d88eb (patch)
treee3707cc56c16aa8a38d85c3eb1947ba4188316e3 /task5.c
parent9db81cb91674d45bbb4936a098f4e4fb1a5b45bd (diff)
fxied api change in other tasks
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);
}