~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/azio.cc

  • Committer: Monty Taylor
  • Date: 2009-07-11 08:59:58 UTC
  • mto: (1093.1.12 captain)
  • mto: This revision was merged to the branch mainline in revision 1097.
  • Revision ID: mordred@inaugust.com-20090711085958-182jngk7bbe020q4
Removed dangerous asserts... mainly to upset Stewart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
892
892
  for (n = 0; n < 4; n++)
893
893
  {
894
894
    buffer[0]= (int)(x & 0xff);
895
 
    assert(pwrite(s->file, buffer, 1, s->pos)==1);
 
895
    size_t ret= pwrite(s->file, buffer, 1, s->pos);
 
896
    assert(ret == 1);
896
897
    s->pos++;
897
898
    x >>= 8;
898
899
  }