diff --git a/lsteamclient/steamclient_main.c b/lsteamclient/steamclient_main.c index d4cccb40..36c22e89 100644 --- a/lsteamclient/steamclient_main.c +++ b/lsteamclient/steamclient_main.c @@ -86,7 +86,7 @@ unsigned int steamclient_unix_path_to_dos_path(bool api_result, const char *src, static const char file_prot[] = "file://"; if(!dst || !dst_bytes) - return 0; + return PATH_MAX - 1; if(!src || !*src || !api_result){ *dst = 0;