~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/client.c

  • Committer: Brian Aker
  • Date: 2008-09-04 18:16:51 UTC
  • Revision ID: brian@tangent.org-20080904181651-kydoxckk145z99b8
strend remove

Show diffs side-by-side

added added

removed removed

Lines of Context:
1363
1363
                             PROTOCOL_VERSION);
1364
1364
    goto error;
1365
1365
  }
1366
 
  end=strend((char*) net->read_pos+1);
 
1366
  end= strchr((char*) net->read_pos+1, '\0');
1367
1367
  drizzle->thread_id=uint4korr(end+1);
1368
1368
  end+=5;
1369
1369
  /*
1456
1456
    read_user_name((char*) end);
1457
1457
 
1458
1458
  /* We have to handle different version of handshake here */
1459
 
  end= strend(end) + 1;
 
1459
  end= strchr(end, '\0') + 1;
1460
1460
  if (passwd[0])
1461
1461
  {
1462
1462
    {