Changeset fb31682 in mainline for uspace/lib/pcap/src/pcapdump_client.c
- Timestamp:
- 2024-12-13T08:44:05Z (10 months ago)
- Children:
- 87b490e3
- Parents:
- 28ed2d89
- git-author:
- Nataliia Korop <n.corop08@…> (2024-11-29 10:41:19)
- git-committer:
- Nataliia Korop <n.corop08@…> (2024-12-13 08:44:05)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/pcap/src/pcapdump_client.c
r28ed2d89 rfb31682 105 105 } 106 106 107 108 errno_t pcapctl_is_valid_ops_number(int *index, pcapctl_sess_t* sess) 107 errno_t pcapctl_is_valid_ops_number(int *index, pcapctl_sess_t *sess) 109 108 { 110 109 async_exch_t *exch = async_exchange_begin(sess->sess); … … 122 121 123 122 int ops_count = (int)ipc_get_arg1(&answer); 124 if (*index + 1 > ops_count || *index < 0) 125 { 123 if (*index + 1 > ops_count || *index < 0) { 126 124 return EINVAL; 127 125 } … … 250 248 } 251 249 252 253 250 /** @} 254 251 */
Note:
See TracChangeset
for help on using the changeset viewer.