]>
Commit | Line | Data |
---|---|---|
2c30b8fe ER |
1 | --- cancd-0.1.0/cancd.c~ 2006-06-13 09:29:06.436946340 +0300 |
2 | +++ cancd-0.1.0/cancd.c 2006-06-13 09:29:10.687041938 +0300 | |
3 | @@ -169,6 +169,9 @@ | |
4 | } | |
5 | } | |
6 | ||
7 | + /* terminate the format string! */ | |
8 | + *fptr = '\0'; | |
9 | + | |
10 | newstr = malloc(sizeof(char) * PATH_MAX); | |
11 | if (!newstr) | |
12 | { |