@ \
bin/feeder \
-f \
- -d 9 \
+ -d 2 \
-c ./conf/$(APPNAME).conf.dvl \
$(TESTIP) \
$(TESTPORT) \
}
break;
case 3 : //discarding comment
- (void) rou_alert(0,"%s action='%c' line=<%s>",OPEP,action,line);
switch (action) {
case 'C' : //command to execute
status=docommand(fd,numline,line);
#====================================================
R:220 mailleur.example.com, ESMTP (cleartext) mailleur...
S:helo example.com
-R:250 mailleur.example.com, link (cleartext) ready, your IP/FQDN=[127.127.0.25/No.Reverse]
+R:250 mailleur.example.com, link (cleartext) ready, your IP/FQDN=[127.127.99.25/No.Reverse]
S:QUIT
R:221 2.0.0 Bye, closing connection...
#-------------------------------------------------------------------------
*/
/********************************************************/
/* */
+/* Procedure to set all remotes links value to zero*/
+/* */
+/********************************************************/
+PUBLIC void sql_droplinks(SQLPTR *sqlptr)
+
+{
+(void) sql_request(sqlptr,"update "RMTTBL" set links=0");
+}
+/*
+^L
+*/
+/********************************************************/
+/* */
/* Procedure to update the database with respond */
/* Record associated with TRA. */
/* Return the number of record stored within the */
#include "unieml.h"
#include "devsql.h"
+//procedure to remove ALL link counts within the remotes tables
+extern void sql_droplinks(SQLPTR *sqlptr);
+
//procedure to update transaction information
extern int sql_update_tradb(SQLPTR *sqlptr,TRATYP **tralist);
if (contact!=(CONTYP *)0) {
(void) freesessid(contact);
+ (void) sql_droplinks(contact->sqlptr);
contact->sqlptr=sql_closesql(contact->sqlptr);
contact->logptr=log_closelog(contact->logptr);
contact->recipients=(RCPTYP **)rou_freelist((void **)contact->recipients,
}
break;
case 2 : //waiting from contact
+ (void) sql_droplinks(contact->sqlptr);
if ((contact->socptr=soc_accept(socptr,pos))==(SOCPTR *)0) {
(void) rou_alert(3,"%s Unable to open contact",OPEP);
contact=freecontact(contact);