hdt: Don't skrink cpu name
authorErwan Velu <erwanaliasr1@gmail.com>
Mon, 31 Jan 2011 16:03:02 +0000 (17:03 +0100)
committerErwan Velu <erwanaliasr1@gmail.com>
Mon, 31 Jan 2011 16:03:02 +0000 (17:03 +0100)
com32/hdt/hdt-common.c

index 5953be3..537e104 100644 (file)
@@ -661,9 +661,6 @@ char *del_multi_spaces(char *p)
             * the content from the second space*/
            strlcpy(p, p + 1, strlen(p + 1));
 
-           /* The string is 1 char smaller */
-           *(p + strlen(p) - 1) = '\0';
-
            /* Don't increment the pointer as we
             * changed the content of the current position*/
            continue;