~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_connect.cc

MergedĀ fromĀ Mats.

Show diffs side-by-side

added added

removed removed

Lines of Context:
273
273
    thd->main_security_ctx.host_or_ip= thd->main_security_ctx.host;
274
274
    thd->main_security_ctx.ip= 0;
275
275
    /* Reset sin_addr */
276
 
    memset((char*) &net->vio->remote, 0, sizeof(net->vio->remote));
 
276
    memset(&net->vio->remote, 0, sizeof(net->vio->remote));
277
277
  }
278
278
  vio_keepalive(net->vio, true);
279
279