1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Useful debug message. Patch by metze.

rafal
This commit is contained in:
Rafal Szczesniak 0001-01-01 00:00:00 +00:00
parent 87eb336d65
commit 8b06364b53

View File

@ -695,8 +695,10 @@ char *StrnCpy_fn(const char *fn, int line,char *dest,const char *src,size_t n)
clobber_region(fn, line, dest, n+1);
#endif
if (!dest)
if (!dest) {
DEBUG(0,("ERROR: NULL dest in StrnCpy\n"));
return(NULL);
}
if (!src) {
*dest = 0;