mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-11-19 13:20:02 +01:00
3 lines
170 B
C
3 lines
170 B
C
|
|
/* removes first '/' for Windows paths that are unix styled. Ex: /c:/ab.cd */
|
|
#define sanitized_path(p) (((p)[0] == '/' && (p)[1] != '\0' && (p)[2] == ':')? (p)+1 : (p)) |