projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initial version of new room sharing poller. I don't really like this because it...
[citadel.git]
/
citadel
/
modules
/
network
/
serv_netmail.c
diff --git
a/citadel/modules/network/serv_netmail.c
b/citadel/modules/network/serv_netmail.c
index 76018eba05cce12ee2f8e27f6eeea3471ad5204a..ddd3ba19d9182b009dd55ced4198015b46e97f9d 100644
(file)
--- a/
citadel/modules/network/serv_netmail.c
+++ b/
citadel/modules/network/serv_netmail.c
@@
-535,20
+535,19
@@
void network_process_ignetpush(SpoolControl *sc, struct CtdlMessage *omsg, long
/* write it to a spool file */
snprintf(filename,
/* write it to a spool file */
snprintf(filename,
-
sizeof(filename),
-
"%s/%s@%lx%x",
-
ctdl_netout_dir,
-
ChrPtr(Recipient),
-
time(NULL),
-
rand()
-
);
+ sizeof(filename),
+ "%s/%s@%lx%x",
+ ctdl_netout_dir,
+ ChrPtr(Recipient),
+ time(NULL),
+ rand()
+ );
syslog(LOG_DEBUG, "netmail: appending to %s", filename);
fp = fopen(filename, "ab");
if (fp != NULL) {
syslog(LOG_DEBUG, "netmail: appending to %s", filename);
fp = fopen(filename, "ab");
if (fp != NULL) {
- fwrite(sermsg.ser,
- sermsg.len, 1, fp);
+ fwrite(sermsg.ser, sermsg.len, 1, fp);
fclose(fp);
}
else {
fclose(fp);
}
else {