~ubuntu-branches/ubuntu/gutsy/xmedcon/gutsy

« back to all changes in this revision

Viewing changes to source/m-structs.c

  • Committer: Bazaar Package Importer
  • Author(s): Roland Marcus Rutschmann
  • Date: 2005-05-23 11:54:09 UTC
  • mfrom: (1.1.2 upstream) (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050523115409-03nil7bhtpqvarrh
Tags: 0.9.8.5-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 *                MdcCleanUpFI()        - Clean up FILEINFO struct         *
38
38
 *                                                                         *
39
39
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
40
 
/* $Id: m-structs.c,v 1.62 2004/10/16 20:36:35 enlf Exp $ 
 
40
/* $Id: m-structs.c,v 1.64 2005/05/16 07:35:02 enlf Exp $ 
41
41
 */
42
42
 
43
43
/*
44
 
   Copyright (C) 1997-2004 by Erik Nolf
 
44
   Copyright (C) 1997-2005 by Erik Nolf
45
45
 
46
46
   This program is free software; you can redistribute it and/or modify it
47
47
   under the terms of the GNU General Public License as published by the
677
677
    dest->ofp_raw = src->ofp_raw;
678
678
  }
679
679
 
680
 
  strncpy(dest->ipath,src->ipath,MDC_MAX_PATH);
681
 
  strncpy(dest->opath,src->opath,MDC_MAX_PATH);
 
680
  memcpy(dest->ipath,src->ipath,MDC_MAX_PATH);
 
681
  memcpy(dest->opath,src->opath,MDC_MAX_PATH);
 
682
 
 
683
  MdcSplitPath(dest->ipath,dest->idir,dest->ifname);
 
684
  MdcSplitPath(dest->opath,dest->odir,dest->ofname);
682
685
 
683
686
  dest->iformat = src->iformat;
684
687
  dest->oformat = src->oformat;