Skip to content

Commit 1892313

Browse files
committed
Whitespace
1 parent ef87278 commit 1892313

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

ext/mysql2/client.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -337,13 +337,13 @@ static VALUE rb_connect(VALUE self, VALUE user, VALUE pass, VALUE host, VALUE po
337337
VALUE rv;
338338
GET_CLIENT(self);
339339

340-
args.host = NIL_P(host) ? NULL : StringValueCStr(host);
341-
args.unix_socket = NIL_P(socket) ? NULL : StringValueCStr(socket);
342-
args.port = NIL_P(port) ? 0 : NUM2INT(port);
343-
args.user = NIL_P(user) ? NULL : StringValueCStr(user);
344-
args.passwd = NIL_P(pass) ? NULL : StringValueCStr(pass);
345-
args.db = NIL_P(database) ? NULL : StringValueCStr(database);
346-
args.mysql = wrapper->client;
340+
args.host = NIL_P(host) ? NULL : StringValueCStr(host);
341+
args.unix_socket = NIL_P(socket) ? NULL : StringValueCStr(socket);
342+
args.port = NIL_P(port) ? 0 : NUM2INT(port);
343+
args.user = NIL_P(user) ? NULL : StringValueCStr(user);
344+
args.passwd = NIL_P(pass) ? NULL : StringValueCStr(pass);
345+
args.db = NIL_P(database) ? NULL : StringValueCStr(database);
346+
args.mysql = wrapper->client;
347347
args.client_flag = NUM2ULONG(flags);
348348

349349
if (wrapper->connect_timeout)
@@ -1183,9 +1183,9 @@ static VALUE set_ssl_options(VALUE self, VALUE key, VALUE cert, VALUE ca, VALUE
11831183
GET_CLIENT(self);
11841184

11851185
mysql_ssl_set(wrapper->client,
1186-
NIL_P(key) ? NULL : StringValueCStr(key),
1187-
NIL_P(cert) ? NULL : StringValueCStr(cert),
1188-
NIL_P(ca) ? NULL : StringValueCStr(ca),
1186+
NIL_P(key) ? NULL : StringValueCStr(key),
1187+
NIL_P(cert) ? NULL : StringValueCStr(cert),
1188+
NIL_P(ca) ? NULL : StringValueCStr(ca),
11891189
NIL_P(capath) ? NULL : StringValueCStr(capath),
11901190
NIL_P(cipher) ? NULL : StringValueCStr(cipher));
11911191

0 commit comments

Comments
 (0)