@@ -326,13 +326,13 @@ static VALUE rb_connect(VALUE self, VALUE user, VALUE pass, VALUE host, VALUE po
326
326
VALUE rv ;
327
327
GET_CLIENT (self );
328
328
329
- args .host = NIL_P (host ) ? NULL : StringValueCStr (host );
330
- args .unix_socket = NIL_P (socket ) ? NULL : StringValueCStr (socket );
331
- args .port = NIL_P (port ) ? 0 : NUM2INT (port );
332
- args .user = NIL_P (user ) ? NULL : StringValueCStr (user );
333
- args .passwd = NIL_P (pass ) ? NULL : StringValueCStr (pass );
334
- args .db = NIL_P (database ) ? NULL : StringValueCStr (database );
335
- args .mysql = wrapper -> client ;
329
+ args .host = NIL_P (host ) ? NULL : StringValueCStr (host );
330
+ args .unix_socket = NIL_P (socket ) ? NULL : StringValueCStr (socket );
331
+ args .port = NIL_P (port ) ? 0 : NUM2INT (port );
332
+ args .user = NIL_P (user ) ? NULL : StringValueCStr (user );
333
+ args .passwd = NIL_P (pass ) ? NULL : StringValueCStr (pass );
334
+ args .db = NIL_P (database ) ? NULL : StringValueCStr (database );
335
+ args .mysql = wrapper -> client ;
336
336
args .client_flag = NUM2ULONG (flags );
337
337
338
338
if (wrapper -> connect_timeout )
@@ -1155,9 +1155,9 @@ static VALUE set_ssl_options(VALUE self, VALUE key, VALUE cert, VALUE ca, VALUE
1155
1155
GET_CLIENT (self );
1156
1156
1157
1157
mysql_ssl_set (wrapper -> client ,
1158
- NIL_P (key ) ? NULL : StringValueCStr (key ),
1159
- NIL_P (cert ) ? NULL : StringValueCStr (cert ),
1160
- NIL_P (ca ) ? NULL : StringValueCStr (ca ),
1158
+ NIL_P (key ) ? NULL : StringValueCStr (key ),
1159
+ NIL_P (cert ) ? NULL : StringValueCStr (cert ),
1160
+ NIL_P (ca ) ? NULL : StringValueCStr (ca ),
1161
1161
NIL_P (capath ) ? NULL : StringValueCStr (capath ),
1162
1162
NIL_P (cipher ) ? NULL : StringValueCStr (cipher ));
1163
1163
0 commit comments