Ignore:
Timestamp:
2024-12-13T08:44:05Z (10 months ago)
Author:
Nataliia Korop <n.corop08@…>
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)
Message:

user friendly options, trying to start while dumping → err msg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/pcap/src/pcapdump_client.c

    r28ed2d89 rfb31682  
    105105}
    106106
    107 
    108 errno_t pcapctl_is_valid_ops_number(int *index, pcapctl_sess_t* sess)
     107errno_t pcapctl_is_valid_ops_number(int *index, pcapctl_sess_t *sess)
    109108{
    110109        async_exch_t *exch = async_exchange_begin(sess->sess);
     
    122121
    123122        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) {
    126124                return EINVAL;
    127125        }
     
    250248}
    251249
    252 
    253250/** @}
    254251 */
Note: See TracChangeset for help on using the changeset viewer.