-/* $Id: mail2.c,v 1.6 2001/09/12 06:17:22 reinelt Exp $
+/* $Id: mail2.c,v 1.7 2002/12/05 19:23:01 reinelt Exp $
*
* mail: pop3, imap, news functions
*
*
*
* $Log: mail2.c,v $
+ * Revision 1.7 2002/12/05 19:23:01 reinelt
+ * fixed undefined operations found by gcc3
+ *
* Revision 1.6 2001/09/12 06:17:22 reinelt
* *** empty log message ***
*
while (1) {
lmin = strtol(p, &p, 10);
if (*p == '-')
- lmax = strtol(++p, &p, 10);
+ lmax = strtol(p+1, &p, 10);
else
lmax=lmin;
debug("nntp: %s: lmin=%d lmax=%d", group, lmin, lmax);
-/* $Id: parser.c,v 1.17 2002/08/19 04:41:20 reinelt Exp $
+/* $Id: parser.c,v 1.18 2002/12/05 19:23:01 reinelt Exp $
*
* row definition parser
*
*
*
* $Log: parser.c,v $
+ * Revision 1.18 2002/12/05 19:23:01 reinelt
+ * fixed undefined operations found by gcc3
+ *
* Revision 1.17 2002/08/19 04:41:20 reinelt
* introduced bar.c, moved bar stuff from display.h to bar.h
*
break;
}
if (isupper(*s)) type |= BAR_LOG;
- len=strtol(++s, &s, 10);
+ len=strtol(s+1, &s, 10);
if (len<1 || len>127) {
error ("WARNING: invalid bar length in <%s>", string);
break;
}
}
else if (*s == ',' && (type & BAR_T))
- token2=strtol(++s, &s, 10); /* get horizontal length */
+ token2=strtol(s+1, &s, 10); /* get horizontal length */
*p++='$';
*p++=type;
*p++=len;
-/* $Id: processor.c,v 1.27 2002/08/19 04:41:20 reinelt Exp $
+/* $Id: processor.c,v 1.28 2002/12/05 19:23:01 reinelt Exp $
*
* main data processing
*
*
*
* $Log: processor.c,v $
+ * Revision 1.28 2002/12/05 19:23:01 reinelt
+ * fixed undefined operations found by gcc3
+ *
* Revision 1.27 2002/08/19 04:41:20 reinelt
* introduced bar.c, moved bar stuff from display.h to bar.h
*
case T_BATT_PERC:
{
static int alarm;
- alarm=(++alarm % 3);
+ alarm=((alarm+1) % 3);
if(value < atoi(cfg_get("battwarning")?:"10") && !alarm) /* flash bar */
value = 0;
return value/100;