From 7c434497e9007c9d85df24d6498c49de457cc5a3 Mon Sep 17 00:00:00 2001 From: stamrakar Date: Sun, 27 Oct 2024 13:50:47 -0600 Subject: [PATCH] sockettest.sh native pass --- server/aesdsocket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/aesdsocket.c b/server/aesdsocket.c index 8a8a39d..e47f2a9 100644 --- a/server/aesdsocket.c +++ b/server/aesdsocket.c @@ -423,14 +423,14 @@ void *threadfunc(void *args) syslog(LOG_ERR, "pthread_mutex_lock failed, error was %d", rc); perror("pthread mutex_lock failed"); } - #if (USE_AESD_CHAR_DEVICE==0) + //#if (USE_AESD_CHAR_DEVICE==0) if(lseek(recvfile_fd, 0, SEEK_SET) == -1) { syslog(LOG_ERR, "server: lseek"); perror("server: lseek"); closeAll(EXIT_FAILURE); } - #endif + //#endif send_my_buffer = (char *) malloc(BUF_SIZE); if (send_my_buffer == NULL) {