~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/client.c

Merged fix-headers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
      len-=2;
132
132
      if (pos[0] == '#')
133
133
      {
134
 
        strncpy(net->sqlstate, pos+1, SQLSTATE_LENGTH);
135
 
        pos+= SQLSTATE_LENGTH+1;
 
134
        strncpy(net->sqlstate, pos+1, LIBDRIZZLE_SQLSTATE_LENGTH);
 
135
        pos+= LIBDRIZZLE_SQLSTATE_LENGTH+1;
136
136
      }
137
137
      else
138
138
      {