Semantic fix on malloc

This commit is contained in:
milo
2011-04-14 13:45:48 +02:00
parent 42315772b2
commit a0a3ceeaa0

View File

@@ -104,7 +104,7 @@ static int server_set_kex(ssh_session session) {
}
}
server->methods = (char **) malloc(10 * sizeof(char **));
server->methods = malloc(10 * sizeof(char *));
if (server->methods == NULL) {
return -1;
}