mirror of
https://github.com/moibenko/mtx.git
synced 2026-01-03 10:55:16 +00:00
More changes for problem with Serial Number copying.
This commit is contained in:
@@ -632,12 +632,10 @@ void copy_char_buffer(unsigned char *src, unsigned char *dest, int num)
|
|||||||
for (i=0; i < num; i++)
|
for (i=0; i < num; i++)
|
||||||
{
|
{
|
||||||
if (isalnum(*src)) {
|
if (isalnum(*src)) {
|
||||||
*dest = *src;
|
*dest++ = *src;
|
||||||
}
|
}
|
||||||
src++;
|
src++;
|
||||||
dest++;
|
|
||||||
}
|
}
|
||||||
*dest = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This #%!@# routine has more parameters than I can count! */
|
/* This #%!@# routine has more parameters than I can count! */
|
||||||
|
|||||||
Reference in New Issue
Block a user