]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Try to fix the build of smbiconv on systems without native iconv.
authorMichael Adam <obnox@samba.org>
Fri, 15 Feb 2008 12:11:41 +0000 (13:11 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 15 Feb 2008 12:11:41 +0000 (13:11 +0100)
Use the smb_iconv_t instead of iconv_t.

Michael

source/torture/smbiconv.c

index c4d30164e47ab3ab5cdc755c9f6f064e4fe015ba..ad4d6b26ccbf940a41c2507361a1b68ec333c722 100644 (file)
@@ -86,7 +86,7 @@ incomplete character or shift sequence at end of buffer"));
 
 
 static int
-process_fd (iconv_t cd, int fd, FILE *output)
+process_fd (smb_iconv_t cd, int fd, FILE *output)
 {
   /* we have a problem with reading from a descriptor since we must not
      provide the iconv() function an incomplete character or shift