1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

fixed dptr_wcard handling (need to use strdup)

(This used to be commit 0bab030074)
This commit is contained in:
Andrew Tridgell 2000-04-30 14:59:00 +00:00
parent 2fb2ae187d
commit 29ba16f792

View File

@ -1333,7 +1333,7 @@ int reply_search(connection_struct *conn, char *inbuf,char *outbuf, int dum_size
}
return(ERROR(ERRDOS,ERRnofids));
}
dptr_set_wcard(dptr_num, mask);
dptr_set_wcard(dptr_num, strdup(mask));
}
DEBUG(4,("dptr_num is %d\n",dptr_num));