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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user