mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
util: fix the description of virStringSearch
There's no argument named @result, use @matches instead. Signed-off-by: Chen Hanxiao <chenhanxiao@gmail.com> Signed-off-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
8f882cf36e
commit
9026d1152c
@ -1038,7 +1038,7 @@ int virStringSortRevCompare(const void *a, const void *b)
|
||||
* @str: string to search
|
||||
* @regexp: POSIX Extended regular expression pattern used for matching
|
||||
* @max_matches: maximum number of substrings to return
|
||||
* @result: pointer to an array to be filled with NULL terminated list of matches
|
||||
* @matches: pointer to an array to be filled with NULL terminated list of matches
|
||||
*
|
||||
* Performs a POSIX extended regex search against a string and return all matching substrings.
|
||||
* The @result value should be freed with virStringListFree() when no longer
|
||||
|
Loading…
Reference in New Issue
Block a user