Removed debugging junk, added source link.

This commit is contained in:
Quinn Evans 2015-09-27 00:05:57 -06:00
parent 671b0cc8dd
commit cce7b292f2
2 changed files with 2 additions and 4 deletions

View File

@ -103,8 +103,8 @@
CONFIG-VALUE DELIMITED BY " ",
INTO MSG-BODY
WITH POINTER MSG-LENGTH.
PERFORM SEND-LINE.
MOVE "NICKSERV-PASSWORD" TO CONFIG-KEY.
PERFORM SEND-LINE.
MOVE "NICKSERV" TO CONFIG-KEY.
READ CONFIG RECORD
INVALID KEY MOVE SPACES TO CONFIG-KEY.
IF CONFIG-KEY IS NOT EQUAL TO SPACES THEN

View File

@ -147,7 +147,6 @@ int CHANNEL__SEND(void)
char *msg;
int sent, total;
channel_from_cobol();
printf("Sending: %s\n", msg_body);
sent = 0;
total = strlen(msg_body);
msg_body[total++] = '\n';
@ -183,7 +182,6 @@ int CHANNEL__RECV(void)
for(size_t i = 0; i < recv_buf_pos; i++) {
recv_buf[i] = message_end[i];
}
printf("Received: %s\n", msg_body);
channel_to_cobol();
return 0;
}