~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzleslap.cc

  • Committer: Monty Taylor
  • Date: 2009-01-28 04:37:46 UTC
  • mto: (779.7.3 devel)
  • mto: This revision was merged to the branch mainline in revision 816.
  • Revision ID: mordred@inaugust.com-20090128043746-d2yukekishwn3ftm
TurnedĀ onĀ -Wshadow.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2304
2304
    }
2305
2305
    else
2306
2306
    {
2307
 
      size_t length= strlen(begin_ptr);
2308
 
      memcpy(buffer, begin_ptr, length);
 
2307
      size_t begin_len= strlen(begin_ptr);
 
2308
      memcpy(buffer, begin_ptr, begin_len);
2309
2309
      begin_ptr= end_ptr;
2310
2310
    }
2311
2311