Skip to content

Commit

Permalink
Fix a forgotten assert
Browse files Browse the repository at this point in the history
  • Loading branch information
David Pineau committed Nov 16, 2015
1 parent e4132c5 commit da43ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libdroplet/src/profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,6 @@ dpl_profile_default(dpl_ctx_t *ctx)
ctx->pricing = NULL;
ctx->pricing_dir = NULL;
ctx->read_buf_size = DPL_DEFAULT_READ_BUF_SIZE;
assert(NULL != ctx->backend);
ctx->encode_slashes = 0;
ctx->keep_alive = 1;
ctx->url_encoding = 1;
Expand All @@ -695,6 +694,7 @@ dpl_profile_default(dpl_ctx_t *ctx)
* be the default backend.
*/
dpl_backend_set(ctx, "s3");
assert(NULL != ctx->backend);

return DPL_SUCCESS;
}
Expand Down

0 comments on commit da43ee3

Please sign in to comment.