HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/ports/www/logtools/files/patch-clfsplit.cpp
--- clfsplit.cpp.orig	2008-06-06 05:33:52 UTC
+++ clfsplit.cpp
@@ -203,7 +203,7 @@ int main(int argc, char **argv)
   MAP m;
   FILE *input = stdin;
   bool new_input = false;
-  optind = 0;
+  optind = 1;
   while(-1 != (int_c = getopt(argc, argv, "d:i:f:s:")) )
   {
     switch(char(int_c))