2006-08-05 15:42:18 +02:00
|
|
|
--- src/mod/share.mod/share.c.orig Mon May 5 00:05:33 2003
|
|
|
|
+++ src/mod/share.mod/share.c Tue Nov 18 16:51:41 2003
|
2004-10-12 09:10:31 +02:00
|
|
|
@@ -1120,7 +1120,7 @@
|
2003-06-11 07:32:50 +02:00
|
|
|
int i, sock;
|
|
|
|
FILE *f;
|
|
|
|
|
2004-10-12 09:10:31 +02:00
|
|
|
- egg_snprintf(s, sizeof s, ".share.%s.%li.users", botnetnick, now);
|
2003-06-11 07:44:25 +02:00
|
|
|
+ egg_snprintf(s, sizeof s, "%.100s/.share.%.32s.%lu.users", tempdir, botnetnick, now);
|
2003-06-11 07:32:50 +02:00
|
|
|
if (!(b_status(idx) & STAT_SHARE)) {
|
|
|
|
dprintf(idx, "s e You didn't ask; you just started sending.\n");
|
|
|
|
dprintf(idx, "s e Ask before sending the userfile.\n");
|
2004-10-12 09:10:31 +02:00
|
|
|
@@ -1889,8 +1889,8 @@
|
2003-11-18 22:49:35 +01:00
|
|
|
struct chanuserrec *ch;
|
|
|
|
struct chanset_t *cst;
|
|
|
|
|
|
|
|
- egg_snprintf(share_file, sizeof share_file, ".share.%s.%lu", dcc[idx].nick,
|
|
|
|
- now);
|
|
|
|
+ egg_snprintf(share_file, sizeof share_file, "%.100s/.share.%s.%lu",
|
|
|
|
+ tempdir, dcc[idx].nick, now);
|
|
|
|
if (dcc[idx].u.bot->uff_flags & UFF_OVERRIDE) {
|
|
|
|
debug1("NOTE: Sharing aggressively with %s, overriding its local bots.",
|
|
|
|
dcc[idx].nick);
|