@@ -326,13 +326,13 @@ static VALUE rb_connect(VALUE self, VALUE user, VALUE pass, VALUE host, VALUE po
326326 VALUE rv ;
327327 GET_CLIENT (self );
328328
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 ;
336336 args .client_flag = NUM2ULONG (flags );
337337
338338 if (wrapper -> connect_timeout )
@@ -1155,9 +1155,9 @@ static VALUE set_ssl_options(VALUE self, VALUE key, VALUE cert, VALUE ca, VALUE
11551155 GET_CLIENT (self );
11561156
11571157 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 ),
11611161 NIL_P (capath ) ? NULL : StringValueCStr (capath ),
11621162 NIL_P (cipher ) ? NULL : StringValueCStr (cipher ));
11631163
0 commit comments