Fix for file uploads

This commit is contained in:
Andrew Pamment 2018-10-18 08:37:29 +10:00
parent 32d1c70622
commit 93e08c0c3d

View File

@ -445,7 +445,7 @@ char *get_file_id_diz(char *filename) {
}
char *b = description;
for (char *p = description; p != '\0'; ++p)
for (char *p = description; *p != '\0'; ++p)
if (*p != '\r')
*b++ = *p;
*b = '\0';