~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to vio/vio.c

  • Committer: Stewart Smith
  • Date: 2008-08-02 07:12:36 UTC
  • mfrom: (258 drizzle)
  • mto: This revision was merged to the branch mainline in revision 408.
  • Revision ID: stewart@flamingspork.com-20080802071236-kbcozl5zm23j6mkn
mergeĀ fromĀ mainline

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
#ifndef HAVE_VIO_READ_BUFF
33
33
  flags&= ~VIO_BUFFERED_READ;
34
34
#endif
35
 
  bzero((char*) vio, sizeof(*vio));
 
35
  memset((char*) vio, 0, sizeof(*vio));
36
36
  vio->type     = type;
37
37
  vio->sd       = sd;
38
38
  if ((flags & VIO_BUFFERED_READ) &&