summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/iplang/iplang_l.l
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ipfilter/iplang/iplang_l.l')
-rw-r--r--contrib/ipfilter/iplang/iplang_l.l5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/ipfilter/iplang/iplang_l.l b/contrib/ipfilter/iplang/iplang_l.l
index 4139792..cc31781 100644
--- a/contrib/ipfilter/iplang/iplang_l.l
+++ b/contrib/ipfilter/iplang/iplang_l.l
@@ -6,7 +6,7 @@
* provided that this notice is preserved and due credit is given
* to the original author and the contributors.
*
- * $Id: iplang_l.l,v 2.2 2000/02/18 00:18:05 darrenr Exp $
+ * $Id: iplang_l.l,v 2.2.2.1 2003/07/28 01:15:59 darrenr Exp $
*/
#include <stdio.h>
#include <string.h>
@@ -318,5 +318,6 @@ void swallow()
while ((c != '\n') && (c != EOF))
c = input();
}
- unput(c);
+ if (c != EOF)
+ unput(c);
}
OpenPOWER on IntegriCloud