Removed bloat
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -255,7 +255,7 @@ void *receiverFunc(void *args)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void fucking_string_empty(void *context, char **worker_ports){
|
void string_empty(void *context, char **worker_ports){
|
||||||
THREAD_ARGS *args = malloc(sizeof(THREAD_ARGS));
|
THREAD_ARGS *args = malloc(sizeof(THREAD_ARGS));
|
||||||
if(!args){
|
if(!args){
|
||||||
// perror("[MAIN - fucking_string_empty] Failed to allocate memory for args");
|
// perror("[MAIN - fucking_string_empty] Failed to allocate memory for args");
|
||||||
@@ -282,7 +282,7 @@ void map(size_t worker_count, char **worker_ports, const char *filename, void *c
|
|||||||
char *content = raw;
|
char *content = raw;
|
||||||
|
|
||||||
if(strcmp(content, "") == 0){
|
if(strcmp(content, "") == 0){
|
||||||
fucking_string_empty(context, worker_ports);
|
string_empty(context, worker_ports);
|
||||||
free(content);
|
free(content);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user