Wrong fix
authorColin Leroy <colin@colino.net>
Thu, 5 Jun 2014 15:55:17 +0000 (17:55 +0200)
committerColin Leroy <colin@colino.net>
Thu, 5 Jun 2014 15:55:17 +0000 (17:55 +0200)
src/account.c

index f1eeeb1..a90f370 100644 (file)
@@ -210,7 +210,7 @@ void account_read_config_all(void)
        while (fgets(buf, sizeof(buf), fp) != NULL) {
                if (!strncmp(buf, "[Account: ", 10)) {
                        strretchomp(buf);
-                       memmove(buf, buf + 1, strlen(buf) - 1);
+                       memmove(buf, buf + 1, strlen(buf));
                        buf[strlen(buf) - 1] = '\0';
                        debug_print("Found label: %s\n", buf);
                        ac_label_list = g_slist_append(ac_label_list,