summaryrefslogtreecommitdiff
path: root/net/ja-samba/patches/patch-ba
blob: c6dffe61ad23155fb10cf1147b384e2669c2cc10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ba,v 1.1.1.1 2002/06/25 15:31:34 taca Exp $

--- lib/charcnv.c.orig	Tue Oct  9 20:15:34 2001
+++ lib/charcnv.c
@@ -306,7 +306,7 @@
     initmaps();
 
   for (out = to; *from && (out - to < sizeof(pstring) - 1);)
-      *out++ = dos2unix[(unsigned char)*from++];
+      *out++ = unix2dos[(unsigned char)*from++];
   *out = '\0';
   return to;
 }