~jaypipes/drizzle/replication-ddl

« back to all changes in this revision

Viewing changes to drizzled/internal/mf_loadpath.cc

  • Committer: Jay Pipes
  • Date: 2010-04-01 18:42:31 UTC
  • mfrom: (1405.4.18 bad-staging)
  • Revision ID: jpipes@serialcoder-20100401184231-pigk7uoqoynmhqhk
Merge 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 */