1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

improving authentication code (tidyup).

(This used to be commit ab1a6aa42d)
This commit is contained in:
Luke Leighton
1999-06-29 18:47:06 +00:00
parent 1dc6c6c7ca
commit 73891ca8e4
19 changed files with 725 additions and 271 deletions

View File

@ -2972,7 +2972,7 @@ void out_data(FILE *f,char *buf1,int len, int per_line)
}
}
void print_asc(int level, unsigned char *buf,int len)
void print_asc(int level, unsigned char const *buf,int len)
{
int i;
for (i=0;i<len;i++)
@ -2981,9 +2981,9 @@ void print_asc(int level, unsigned char *buf,int len)
}
}
void dump_data(int level,char *buf1, int len)
void dump_data(int level, const char *buf1, int len)
{
unsigned char *buf = (unsigned char *)buf1;
unsigned char const *buf = (unsigned char const *)buf1;
int i=0;
if (len<=0) return;