Browse code

fix previous commit

Tomasz Kojm authored on 2010/05/11 03:19:12
Showing 1 changed files
... ...
@@ -731,6 +731,7 @@ static int build(const struct optstruct *opts)
731 731
 		    return -1;
732 732
 		}
733 733
 		lspt->next->name = strdup("last.hdb");
734
+		lspt->next->next = NULL;
734 735
 		if(!lspt->next->name) {
735 736
 		    FREE_LS(dblist2);
736 737
 		    mprintf("!build: Memory allocation error\n");