~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/mf_loadpath.cc

  • Committer: Djellel E. Difallah
  • Date: 2010-04-02 07:45:12 UTC
  • mfrom: (1435 bad-staging)
  • mto: This revision was merged to the branch mainline in revision 1440.
  • Revision ID: ded@ubuntu-20100402074512-rck7fl88o76h9tya
merge to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
      strcpy(buff,path);                        /* Return org file name */
52
52
  }
53
53
  else
54
 
    sprintf(buff,"%s%s",own_path_prefix,path);
 
54
    snprintf(buff, sizeof(buff), "%s%s",own_path_prefix,path);
55
55
  strcpy(to,buff);
56
56
  return(to);
57
57
} /* my_load_path */