Skip to content

Commit

Permalink
droplet: typo in "If-Unmodified-Since"
Browse files Browse the repository at this point in the history
  • Loading branch information
pozdnychev committed Sep 10, 2013
1 parent 604c8a4 commit a9f0948
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libdroplet/s3/reqbuilder.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ add_condition_to_headers(const dpl_condition_one_t *condition,
if (1 == copy_source)
header = "x-amz-copy-source-if-unmodified-since";
else
header = "If-Unodified-Since";
header = "If-Unmodified-Since";
ret = dpl_dict_add(headers, header, date_str, 0);
if (DPL_SUCCESS != ret)
{
Expand Down
2 changes: 1 addition & 1 deletion libdroplet/src/httprequest.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ dpl_add_condition_to_headers(const dpl_condition_t *cond,

if (condition->type == DPL_CONDITION_IF_UNMODIFIED_SINCE)
{
header = "If-Unodified-Since";
header = "If-Unmodified-Since";
ret = dpl_dict_add(headers, header, date_str, 0);
if (DPL_SUCCESS != ret)
{
Expand Down

0 comments on commit a9f0948

Please sign in to comment.