1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-01 16:23:49 +03:00

r25010: Avoid uses of pstring

This commit is contained in:
Jelmer Vernooij
2007-09-07 22:01:15 +00:00
committed by Gerald (Jerry) Carter
parent c57869e262
commit cce7785474
2 changed files with 2 additions and 4 deletions

View File

@@ -20,7 +20,6 @@
/* DOS error codes. please read doserr.h */
#include "includes.h"
#include "pstring.h"
struct werror_code_struct {
const char *dos_errstr;
@@ -133,7 +132,7 @@ static const struct werror_code_struct dos_errs[] =
*****************************************************************************/
const char *win_errstr(WERROR werror)
{
static pstring msg;
static char msg[40];
int idx = 0;
while (dos_errs[idx].dos_errstr != NULL) {