Skip to content

Commit

Permalink
Fixed default values for TYPE.
Browse files Browse the repository at this point in the history
  • Loading branch information
timautin committed Sep 26, 2018
1 parent f78436f commit 6ac2b92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -819,9 +819,9 @@ int main(int argc, char **argv)
char* mimeType[INILINE_MAX];
char* outputFormat[INILINE_MAX];

strcpy(fileExtension, "png-default");
strcpy(mimeType, "image/png-default");
strcpy(outputFormat, "png256-default");
strcpy(fileExtension, "png");
strcpy(mimeType, "image/png");
strcpy(outputFormat, "png256");

sscanf(ini_type, "%[^ ] %[^ ] %[^;#]", fileExtension, mimeType, outputFormat);

Expand Down

0 comments on commit 6ac2b92

Please sign in to comment.