Changeset 2806e10 in rtems


Ignore:
Timestamp:
Oct 9, 2018, 6:38:11 AM (6 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
6cdaa85
Parents:
84a5921d
git-author:
Sebastian Huber <sebastian.huber@…> (10/09/18 06:38:11)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/09/18 11:26:46)
Message:

telnetd: Ignore setsockopt() return status

Update #3529.

Location:
cpukit/telnetd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/telnetd/pty.c

    r84a5921d r2806e10  
    118118  t.tv_sec=2;
    119119  t.tv_usec=00000;
    120   setsockopt(socket, SOL_SOCKET, SO_RCVTIMEO, &t, sizeof(t));
     120  (void)setsockopt(socket, SOL_SOCKET, SO_RCVTIMEO, &t, sizeof(t));
    121121
    122122  /* inform the client that we will echo */
  • cpukit/telnetd/telnetd.c

    r84a5921d r2806e10  
    214214    rtems_task_exit();
    215215  };
    216   setsockopt(des_socket,SOL_SOCKET,SO_KEEPALIVE,&i,sizeof(i));
     216  (void)setsockopt(des_socket,SOL_SOCKET,SO_KEEPALIVE,&i,sizeof(i));
    217217
    218218  memset(&srv,0,sizeof(srv));
Note: See TracChangeset for help on using the changeset viewer.