Skip to content

Commit 90b9edf

Browse files
committed
minor fixes
1 parent 4b83f90 commit 90b9edf

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

general/lib/socket/socket.c

+1
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ int socket_read_request(struct ThreadArgs *args, char **buf) {
224224
break;
225225
}
226226
}
227+
return 0;
227228
}
228229

229230
void socket_read_request2(struct ThreadArgs *args, char **buf) {

linux/lib/pipe/linux_pipe.c

-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,6 @@ void socket_pipe_multiple_process(int *fd_pipe) {
310310

311311
int socket_pipe_log_server_single_process(char *path, struct ThreadArgs *args, int dim_file_to_send, int fd_pipe_log_write) {
312312

313-
int err;
314313
// if ((err = pthread_mutex_lock(sync_pipe_mutex)) != 0) {
315314
// fprintf(stderr, "pthread_mutex_lock failed %d %s \n", err, strerror(err));
316315
// }

0 commit comments

Comments
 (0)