Commit 5809b05b authored by Juergen Kosel's avatar Juergen Kosel

Set the serverURI in the corresponding array of the connect options for test5-2d

Signed-off-by: 's avatarJuergen Kosel <juergen.kosel@softing.com>
parent 168a3822
...@@ -1030,6 +1030,12 @@ int test2d(struct Options options) ...@@ -1030,6 +1030,12 @@ int test2d(struct Options options)
opts.cleansession = 1; opts.cleansession = 1;
opts.username = "testuser"; opts.username = "testuser";
opts.password = "testpassword"; opts.password = "testpassword";
opts.serverURIs = (char**) malloc(1*sizeof(char*));
if (opts.serverURIs)
{
*opts.serverURIs = strdup(options.mutual_auth_connection);
opts.serverURIcount = 1;
}
opts.will = &wopts; opts.will = &wopts;
opts.will->message = "will message"; opts.will->message = "will message";
...@@ -2167,3 +2173,8 @@ int main(int argc, char** argv) ...@@ -2167,3 +2173,8 @@ int main(int argc, char** argv)
return rc; return rc;
} }
/* Local Variables: */
/* indent-tabs-mode: t */
/* c-basic-offset: 8 */
/* End: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment