aboutsummaryrefslogtreecommitdiffstats
path: root/mail2.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2002-12-05 19:23:01 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2002-12-05 19:23:01 +0000
commit3661f7737fb07a302d31afc670ef05edbfcedd8b (patch)
treea53a801ca1a2f17bf0b0b89d3705e085bc5dda5b /mail2.c
parenteb8b04d760907d5f17f9a3dfa01431c6c2da84ef (diff)
downloadlcd4linux-3661f7737fb07a302d31afc670ef05edbfcedd8b.tar.gz
[lcd4linux @ 2002-12-05 19:23:01 by reinelt]
fixed undefined operations found by gcc3 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@173 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'mail2.c')
-rw-r--r--mail2.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/mail2.c b/mail2.c
index 02cdbd8..353506f 100644
--- a/mail2.c
+++ b/mail2.c
@@ -1,4 +1,4 @@
-/* $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
*
@@ -20,6 +20,9 @@
*
*
* $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 ***
*
@@ -266,7 +269,7 @@ static int check_nntp(char *user, char *pass, char *machine,
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);