~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/conn.c

  • Committer: Brian Aker
  • Date: 2011-02-13 22:15:19 UTC
  • mfrom: (2165.1.6 drizzle-staging)
  • Revision ID: brian@tangent.org-20110213221519-7a1zyzo0vfpw9jbm
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
1319
1319
  }
1320
1320
 
1321
1321
#if defined (_WIN32)
1322
 
  unsigned long asyncmode = 1;
1323
 
  ioctlsocket(con->fd, FIONBIO, &asyncmode);
 
1322
  {
 
1323
    unsigned long asyncmode;
 
1324
    asyncmode= 1;
 
1325
    ioctlsocket(con->fd, FIONBIO, &asyncmode);
 
1326
  }
1324
1327
#else
1325
1328
  ret= fcntl(con->fd, F_GETFL, 0);
1326
1329
  if (ret == -1)