Fix for file uploads
This commit is contained in:
parent
32d1c70622
commit
93e08c0c3d
@ -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';
|
||||
|
Reference in New Issue
Block a user