Modified fix for bugid #784. Based on a patch from moriyama@miraclelinux.com (MORIYAM...
[samba.git] / source3 / libsmb / libsmbclient.c
index 37e794478d3e0f78ec07133babc6ff8d94e86137..35e8a9786b134b64e78ef1e56227768063c649f0 100644 (file)
@@ -1787,7 +1787,7 @@ static SMBCFILE *smbc_opendir_ctx(SMBCCTX *context, const char *fname)
                        if (!is_ipaddress(server) &&  /* Not an IP addr so check next */
                            (resolve_name(server, &rem_ip, 0x1d) ||   /* Found LMB */
                                     resolve_name(server, &rem_ip, 0x1b) )) { /* Found DMB */
-                               pstring buserver;
+                               fstring buserver;
 
                                dir->dir_type = SMBC_SERVER;