summaryrefslogtreecommitdiffstats
path: root/support/nfs/xio.c
diff options
context:
space:
mode:
authorhjl <hjl>2001-11-29 00:00:12 +0000
committerhjl <hjl>2001-11-29 00:00:12 +0000
commitb1f8653d43b6bfaf80a44efcb7418bcf898d3af1 (patch)
tree0a5171c39c5afec33bbc141f668696aa13d7768e /support/nfs/xio.c
parenta0bb9d19de9fec67ca6f6a19c0a9e79a783d7586 (diff)
downloadnfs-utils-b1f8653d43b6bfaf80a44efcb7418bcf898d3af1.tar.gz
nfs-utils-b1f8653d43b6bfaf80a44efcb7418bcf898d3af1.tar.xz
nfs-utils-b1f8653d43b6bfaf80a44efcb7418bcf898d3af1.zip
2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
* support/nfs/xio.c (xskip): Call `xungetc' instead of `ungetc' to keep x_line more properly.
Diffstat (limited to 'support/nfs/xio.c')
-rw-r--r--support/nfs/xio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/nfs/xio.c b/support/nfs/xio.c
index 9bb5100..3850aab 100644
--- a/support/nfs/xio.c
+++ b/support/nfs/xio.c
@@ -160,7 +160,7 @@ xskip(XFILE *xfp, char *str)
int c;
while ((c = xgetc(xfp)) != EOF && strchr(str, c));
- ungetc(c, xfp->x_fp);
+ xungetc(c, xfp);
}
char