Skip to content

Commit

Permalink
Web update: ensure that the patch pool directory exists (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Bourdeauducq committed Jul 3, 2011
1 parent b1adfb3 commit 875d732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ static void download_patches(struct patchpool *pp)
char target[384];
char *encoded;

/* TODO: ensure that the patch pool directory exists. Issue #25 precludes a simple mkdir(). */
mkdir(SIMPLE_PATCHES_FOLDER, 0777);

done = 0;
total = patchpool_count(pp);
Expand Down

0 comments on commit 875d732

Please sign in to comment.