Commit bf36cd41 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix [17660]

parent b2e31be9
...@@ -581,8 +581,8 @@ static char *GetTmpFilePath( access_t *p_access ) ...@@ -581,8 +581,8 @@ static char *GetTmpFilePath( access_t *p_access )
free (pwdir_free); free (pwdir_free);
/* remove trailing antislash if any */ /* remove trailing antislash if any */
if (mbdir[strlen (psz_dir) - 1] == '\\') if (psz_dir[strlen (psz_dir) - 1] == '\\')
mbdir[strlen (psz_dir) - 1] = '\0'; psz_dir[strlen (psz_dir) - 1] = '\0';
#else #else
psz_dir = strdup( "/tmp" ); psz_dir = strdup( "/tmp" );
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment