- Re-enable OS/2 building after new parms were added
[privoxy.git] / jcc.c
diff --git a/jcc.c b/jcc.c
index 622feca..e64a979 100644 (file)
--- a/jcc.c
+++ b/jcc.c
@@ -1,4 +1,4 @@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.70 2002/03/05 04:52:42 oes Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.71 2002/03/05 18:13:56 oes Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@ -33,6 +33,9 @@ const char jcc_rcs[] = "$Id: jcc.c,v 1.70 2002/03/05 04:52:42 oes Exp $";
  *
  * Revisions   :
  *    $Log: jcc.c,v $
+ *    Revision 1.71  2002/03/05 18:13:56  oes
+ *    Added --user option
+ *
  *    Revision 1.70  2002/03/05 04:52:42  oes
  *    Deleted non-errlog debugging code
  *
@@ -1595,7 +1598,7 @@ int main(int argc, const char *argv[])
       {
          no_daemon = 1;
       }
-
+#if !defined(__OS2__)
       else if (strcmp(argv[argc_pos], "--pidfile" ) == 0)
       {
          if (++argc_pos == argc) usage(argv[0]);
@@ -1606,12 +1609,13 @@ int main(int argc, const char *argv[])
       {
          if (++argc_pos == argc) usage(argv[0]);
          pw = getpwnam(argv[argc_pos]);
-
+                   s
          if (pw == NULL)
          {
             log_error(LOG_LEVEL_FATAL, "User %s not found.", argv[argc_pos]);
          }
       }
+#endif /* !defined(__OS2__) */
       else
 #endif /* defined(_WIN32) && !defined(_WIN_CONSOLE) */
       {