1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Merge pull request #828 from asdil12/patch-2

Fix indentation in http_upload.c
This commit is contained in:
James Booth 2016-07-25 20:52:31 +01:00 committed by GitHub
commit 41b6414d1a

View File

@ -301,7 +301,7 @@ end:
char* char*
file_mime_type(const char* const file_name) file_mime_type(const char* const file_name)
{ {
char *out_mime_type; char *out_mime_type;
char file_header[FILE_HEADER_BYTES]; char file_header[FILE_HEADER_BYTES];
FILE *fd; FILE *fd;
if (!(fd = fopen(file_name, "rb"))) { if (!(fd = fopen(file_name, "rb"))) {