mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-30 03:47:05 -05:00
Fix documentation of windows_guid_is_valid
This commit is contained in:
parent
b4d370e9ed
commit
9fcbf49a2b
1 changed files with 2 additions and 4 deletions
|
|
@ -266,11 +266,9 @@ static int windows_ps(const char* ps_command, char* out, size_t out_size)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Validates a GUID string of the form:
|
* Validates a GUID string of the form: {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
|
||||||
* xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
|
||||||
* Does NOT accept braced forms like {xxxxxxxx-...}.
|
|
||||||
*
|
*
|
||||||
* Returns true if valid, false otherwise.
|
* Returns 0 if valid, -1 otherwise.
|
||||||
*/
|
*/
|
||||||
int windows_guid_is_valid(const char* guid, int len)
|
int windows_guid_is_valid(const char* guid, int len)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue