~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to extra/my_print_defaults.c

  • Committer: Brian Aker
  • Date: 2008-08-05 04:10:42 UTC
  • mfrom: (261.2.8 codestyle)
  • mto: This revision was merged to the branch mainline in revision 263.
  • Revision ID: brian@tangent.org-20080805041042-1l4893r3bwy2lxz2
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
  /* Copy defaults-xxx arguments & program name */
146
146
  count=args_used+1;
147
147
  arguments= tmp_arguments;
148
 
  memcpy((char*) arguments, (char*) org_argv, count * sizeof(*org_argv));
 
148
  memcpy(arguments, org_argv, count * sizeof(*org_argv));
149
149
  arguments[count]= 0;
150
150
 
151
151
  /* Check out the args */
154
154
    exit(1);
155
155
  if (get_options(&argc,&argv))
156
156
    exit(1);
157
 
  memcpy((char*) load_default_groups, (char*) argv, (argc + 1) * sizeof(*argv));
 
157
  memcpy(load_default_groups, argv, (argc + 1) * sizeof(*argv));
158
158
 
159
159
  if ((error= load_defaults(config_file, (const char **) load_default_groups,
160
160
                           &count, &arguments)))