Skip to content

Commit 0c64610

Browse files
Cleanup
1 parent 845d443 commit 0c64610

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/mod/share.mod/share.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,21 +1239,21 @@ static void share_ufsend2(int idx, char *par)
12391239
debug2("share: share_ufsend2(): start: par = >%s< len = %i", par, len);
12401240
buf = nmalloc(len);
12411241
if ((len = b64_pton(par, buf, len)) < 0) {
1242-
putlog(LOG_BOTS, "*", "share: share_ufsend2(): error b64_pton()");
1242+
putlog(LOG_BOTS, "*", "Share: share_ufsend2(): error b64_pton()");
12431243
return;
12441244
}
12451245
debug1("share: share_ufsend2(): len = %i", len);
12461246
char template[] = "/tmp/shareXXXXXXXX";
12471247
int fd;
12481248
if ((fd = mkstemp(template)) < 0) {
1249-
putlog(LOG_BOTS, "*", "share: share_ufsend2(): error mkstemp(): %s", strerror(errno));
1249+
putlog(LOG_BOTS, "*", "Share: share_ufsend2(): error mkstemp(): %s", strerror(errno));
12501250
return;
12511251
}
12521252
if ((i = write(fd, buf, len)) != len) {
12531253
if (i < 0)
1254-
putlog(LOG_MISC, "*", "Share error: sare_ufsend2(): write(): %s", strerror(errno));
1254+
putlog(LOG_MISC, "*", "Share error: share_ufsend2(): write(): %s", strerror(errno));
12551255
else
1256-
putlog(LOG_MISC, "*", "share error: sare_ufsend2(): write(): Wrote %ld bytes instead of %i bytes.", (long) i, len);
1256+
putlog(LOG_MISC, "*", "Share error: share_ufsend2(): write(): Wrote %ld bytes instead of %i bytes.", (long) i, len);
12571257
return;
12581258
}
12591259
close(fd);
@@ -1266,7 +1266,7 @@ static void share_ufsend2(int idx, char *par)
12661266
strcpy(dcc[idx].host, dcc[idx].nick);
12671267
finish_share(idx);
12681268
strcpy(dcc[idx].host, host);
1269-
debug0("share: share_ufsend2(): end");
1269+
debug0("Share: share_ufsend2(): end");
12701270
}
12711271

12721272
/* us <ip> <port> <length>

0 commit comments

Comments
 (0)