Changeset dc5c303 in mainline for common/str_error.c


Ignore:
Timestamp:
2023-12-28T13:59:23Z (14 months ago)
Author:
GitHub <noreply@…>
Children:
6b66de6b
Parents:
42c2e65 (diff), f87ff8e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
boba-buba <120932204+boba-buba@…> (2023-12-28 13:59:23)
git-committer:
GitHub <noreply@…> (2023-12-28 13:59:23)
Message:

Merge branch 'master' into topic/packet-capture

File:
1 moved

Legend:

Unmodified
Added
Removed
  • common/str_error.c

    r42c2e65 rdc5c303  
    2828 */
    2929
     30#include <str_error.h>
     31
    3032#include <errno.h>
    31 #include <str.h>
     33#include <stddef.h>
     34
    3235
    3336/*
     
    6467        /*
    6568         * Just a dumb linear search.
    66          * There too few entries to warrant anything smarter.
     69         * There are too few entries to warrant anything smarter.
    6770         */
    6871
     
    8689        }
    8790
    88         return "(unknown)";
     91        return NULL;
    8992}
    9093
     
    97100        }
    98101
    99         return "Unknown error code";
     102        return NULL;
    100103}
Note: See TracChangeset for help on using the changeset viewer.