From 14e3b0e4f801f6fdbd6be941a2022e4e665d88eb Mon Sep 17 00:00:00 2001 From: Benedict Date: Fri, 4 Mar 2016 12:45:40 +0100 Subject: fxied api change in other tasks --- task5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'task5.c') 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); } -- cgit v1.2.3-70-g09d2