mirror of
https://github.com/moibenko/mtx.git
synced 2025-12-23 05:55:13 +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++)
|
||||
{
|
||||
if (isalnum(*src)) {
|
||||
*dest = *src;
|
||||
*dest++ = *src;
|
||||
}
|
||||
src++;
|
||||
dest++;
|
||||
}
|
||||
*dest = 0;
|
||||
}
|
||||
|
||||
/* This #%!@# routine has more parameters than I can count! */
|
||||
|
||||
Reference in New Issue
Block a user