Changeset b7fd2a0 in mainline for uspace/app/nterm/conn.c
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nterm/conn.c
r36f0738 rb7fd2a0 69 69 static void conn_data_avail(tcp_conn_t *conn) 70 70 { 71 int rc;71 errno_t rc; 72 72 size_t nrecv; 73 73 … … 86 86 } 87 87 88 int conn_open(const char *hostport)88 errno_t conn_open(const char *hostport) 89 89 { 90 90 inet_ep2_t epp; 91 91 const char *errmsg; 92 int rc;92 errno_t rc; 93 93 94 94 inet_ep2_init(&epp); … … 126 126 } 127 127 128 int conn_send(void *data, size_t size)128 errno_t conn_send(void *data, size_t size) 129 129 { 130 int rc = tcp_conn_send(conn, data, size);130 errno_t rc = tcp_conn_send(conn, data, size); 131 131 if (rc != EOK) 132 132 return EIO;
Note:
See TracChangeset
for help on using the changeset viewer.