OSSP CVS Repository

ossp - Difference in ossp-pkg/lmtp2nntp/lmtp2nntp.c versions 1.21 and 1.22
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/lmtp2nntp/lmtp2nntp.c 1.21 -> 1.22

--- lmtp2nntp.c  2001/08/21 07:40:41     1.21
+++ lmtp2nntp.c  2001/08/21 07:44:32     1.22
@@ -195,19 +195,19 @@
                     ctx->option_deliverymodefakedsn    = &optarg[4];
 
                     if (   strlen(ctx->option_deliverymodefakestatus) != 3
-                        || !isdigit(ctx->option_deliverymodefakestatus[0])
-                        || !isdigit(ctx->option_deliverymodefakestatus[1])
-                        || !isdigit(ctx->option_deliverymodefakestatus[2])) {
+                        || !isdigit((int)ctx->option_deliverymodefakestatus[0])
+                        || !isdigit((int)ctx->option_deliverymodefakestatus[1])
+                        || !isdigit((int)ctx->option_deliverymodefakestatus[2])) {
                             fprintf(stderr, "%s:Error: Invalid status in format \"%s\" to option -d\n", progname, optarg);
                             exit(ERR_EXECUTION);
                         }
 
                     if (   (strlen(ctx->option_deliverymodefakedsn) != 5)
-                        || !isdigit(ctx->option_deliverymodefakedsn[0])
+                        || !isdigit((int)ctx->option_deliverymodefakedsn[0])
                         || (ctx->option_deliverymodefakedsn[1] != '.')
-                        || !isdigit(ctx->option_deliverymodefakedsn[2])
+                        || !isdigit((int)ctx->option_deliverymodefakedsn[2])
                         || (ctx->option_deliverymodefakedsn[3] != '.')
-                        || !isdigit(ctx->option_deliverymodefakedsn[4])
+                        || !isdigit((int)ctx->option_deliverymodefakedsn[4])
                         || (ctx->option_deliverymodefakedsn[0] != ctx->option_deliverymodefakestatus[0])) {
                             fprintf(stderr, "%s:Error: Invalid dsn in format \"%s\" to option -d\n", progname, optarg);
                             exit(ERR_EXECUTION);

CVSTrac 2.0.1