Skip to content

Commit

Permalink
sockettest.sh native pass
Browse files Browse the repository at this point in the history
  • Loading branch information
stamrakar authored and stamrakar committed Oct 27, 2024
1 parent 6f1c2de commit 7c43449
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/aesdsocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 7c43449

Please sign in to comment.