]>
Commit | Line | Data |
---|---|---|
ddca87f8 | 1 | --- /home/users/hunter/backup/stored.c~ Fri Nov 2 07:29:03 2001 |
2 | +++ src/stored.c Sat Jun 1 09:15:37 2002 | |
3 | @@ -193,8 +193,8 @@ | |
4 | closesocket(ns); | |
5 | exit(0); | |
6 | } | |
7 | - sprintf(Sfilename, "%s/store/%04x.s", store_dir, FileNo); | |
8 | - sprintf(Ifilename, "%s/store/%04x.i", store_dir, FileNo); | |
9 | + sprintf(Sfilename, "%s/store/%01x/%01x/%04x.s", store_dir, FileNo>>12, (FileNo>>8)%16, FileNo); | |
10 | + sprintf(Ifilename, "%s/store/%01x/%01x/%04x.i", store_dir, FileNo>>12, (FileNo>>8)%16, FileNo); | |
11 | ||
12 | if ((Ifd = fopen(Ifilename, "rb+")) == NULL) { | |
13 | if ((Ifd = fopen(Ifilename, "wb+")) == NULL) { |