mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-11-22 18:22:18 +00:00
Removed fix
This commit is contained in:
parent
ddb12a1f37
commit
4b7dbb6ede
@ -59,19 +59,7 @@ int validity_check(char request) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void response_conversion(char response) {
|
void response_cleanup(char response[BUFFER_LENGTH]) {
|
||||||
|
|
||||||
char *response1;
|
|
||||||
|
|
||||||
response1 = (char*)malloc(512);
|
|
||||||
|
|
||||||
strcpy(response, response1);
|
|
||||||
|
|
||||||
response_cleanup(response1);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void response_cleanup(char *response[BUFFER_LENGTH]) {
|
|
||||||
|
|
||||||
char remove = 'a';
|
char remove = 'a';
|
||||||
|
|
||||||
@ -123,7 +111,7 @@ void ntkd_request(char request) {
|
|||||||
/* Increment the number of bytes that have been received so far */
|
/* Increment the number of bytes that have been received so far */
|
||||||
bytesReceived += rc;
|
bytesReceived += rc;
|
||||||
}
|
}
|
||||||
response_conversion(response);
|
response_cleanup(response);
|
||||||
}
|
}
|
||||||
|
|
||||||
void opensocket(void) {
|
void opensocket(void) {
|
||||||
|
Loading…
Reference in New Issue
Block a user