Commit 92ff0974 authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@936 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 6f1f40aa
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -327,10 +327,10 @@ int xdropen(XDR *xdrs, const char *filename, const char *type)
    return 0;
  }
  if (*type == 'w' || *type == 'W') {
    type = "w+";
    type = (char *) "w+";
    lmode = XDR_ENCODE;
  } else {
    type = "r";
    type = (char *) "r";
    lmode = XDR_DECODE;
  }
  xdrfiles[xdrid] = fopen(filename, type);