in += 2;
out++;
}
- *out = 0;
ret = out[-1];
+ out[-1] = 0;
#ifdef NETBIOS_SCOPE
/* Handle any scope names */
in += len;
}
#endif
- pull_ascii(name, out, sizeof(fstring), sizeof(out), STR_TERMINATE);
+ pull_ascii(name, out_string, sizeof(fstring), sizeof(out_string), STR_TERMINATE);
return(ret);
}
}
/****************************************************************************
-extract a netbios name from a buf (into a unix string)
+extract a netbios name from a buf (into a unix string) return name type
****************************************************************************/
int name_extract(char *buf,int ofs, fstring name)
{