projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove unused trace function
[citadel.git]
/
citadel
/
modules
/
smtp
/
serv_smtp.c
diff --git
a/citadel/modules/smtp/serv_smtp.c
b/citadel/modules/smtp/serv_smtp.c
index e22881fa50e19a1f24eaa7660a666a43ae5383b0..c8cd7017328d3eb017cd52111f8b70441c8d1233 100644
(file)
--- a/
citadel/modules/smtp/serv_smtp.c
+++ b/
citadel/modules/smtp/serv_smtp.c
@@
-116,7
+116,9
@@
void registerSmtpCMD(const char *First, long FLen,
smtp_handler_hook *h;
if (FLen >= MaxSMTPCmdLen)
smtp_handler_hook *h;
if (FLen >= MaxSMTPCmdLen)
- cit_panic_backtrace (0);
+ {
+ abort();
+ }
h = (smtp_handler_hook*) malloc(sizeof(smtp_handler_hook));
memset(h, 0, sizeof(smtp_handler_hook));
h = (smtp_handler_hook*) malloc(sizeof(smtp_handler_hook));
memset(h, 0, sizeof(smtp_handler_hook));
@@
-1022,7
+1024,7
@@
void smtp_command_loop(void)
if (sSMTP == NULL) {
syslog(LOG_EMERG, "Session SMTP data is null. WTF? We will crash now.");
if (sSMTP == NULL) {
syslog(LOG_EMERG, "Session SMTP data is null. WTF? We will crash now.");
-
return cit_panic_backtrace (0
);
+
abort(
);
}
time(&CCC->lastcmd);
}
time(&CCC->lastcmd);