~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to vio/viosocket.c

  • Committer: Brian Aker
  • Date: 2008-08-10 06:21:31 UTC
  • mfrom: (287.2.3 ipv6-fixes)
  • Revision ID: brian@tangent.org-20080810062131-tyzi9lskss7gbi13
Merge + closesocket() fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
    assert(vio->sd >= 0);
191
191
    if (shutdown(vio->sd, SHUT_RDWR))
192
192
      r= -1;
193
 
    if (closesocket(vio->sd))
 
193
    if (close(vio->sd))
194
194
      r= -1;
195
195
  }
196
196
  vio->type= VIO_CLOSED;