226
226
ptr[0]= DRIZZLE_MAX_SCRAMBLE_SIZE;
231
snprintf((char *)ptr, DRIZZLE_MAX_SCRAMBLE_SIZE, "%s", con->password);
231
235
*ret_ptr= _pack_scramble_hash(con, ptr);
232
236
if (*ret_ptr != DRIZZLE_RETURN_OK)
236
241
snprintf((char *)ptr, DRIZZLE_MAX_SCRAMBLE_SIZE, "%s", con->password);
238
244
ptr+= DRIZZLE_MAX_SCRAMBLE_SIZE;