diff --git a/channel.c b/channel.c index 7f5cf19..e9834a9 100644 --- a/channel.c +++ b/channel.c @@ -57,7 +57,7 @@ void channel_from_cobol(void) void channel_to_cobol(void) { char *c; - for(c = msg_body; *c; c++); + for(c = msg_body; *c; c++) { *c = toupper(*c); } memset(c, ' ', msg_body_len - strlen(msg_body));