File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
jobs/describe_job_execution Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change
1
+ .idea
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ int main(int argc, char *argv[])
186
186
}
187
187
188
188
auto connectionOptions = tlsCtx.NewConnectionOptions ();
189
- connectionOptions.server_name = endpoint.c_str ();
189
+ connectionOptions.server_name = aws_string_new_from_c_str ( aws_default_allocator (), endpoint.c_str () );
190
190
191
191
/*
192
192
* Now create a connection object. Note: This type is move only
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ int main(int argc, char *argv[])
226
226
}
227
227
228
228
auto connectionOptions = tlsCtx.NewConnectionOptions ();
229
- connectionOptions.server_name = endpoint.c_str ();
229
+ connectionOptions.server_name = aws_string_new_from_c_str ( aws_default_allocator (), endpoint.c_str () );
230
230
231
231
/*
232
232
* Now create a connection object. Note: This type is move only
You can’t perform that action at this time.
0 commit comments