OSSP CVS Repository

ossp - Check-in [1749]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1749
Date: 2002-Jan-31 16:03:51 (local)
2002-Jan-31 15:03:51 (UTC)
User:thl
Branch:
Comment: bugfix
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/lmtp2nntp_config.c      1.28 -> 1.29     1 inserted, 1 deleted

ossp-pkg/lmtp2nntp/lmtp2nntp_config.c 1.28 -> 1.29

--- lmtp2nntp_config.c   2002/01/31 15:03:23     1.28
+++ lmtp2nntp_config.c   2002/01/31 15:03:51     1.29
@@ -505,7 +505,7 @@
               ) throw(0,0,0);
         log1(ctx, TRACE, "--nodename = \"%s\"", ov->data.s);
 
-        if (strlen(optarg) > sizeof(ctx->uname.nodename)-1) {
+        if (strlen(ov->data.s) > sizeof(ctx->uname.nodename)-1) {
             log1(ctx, ERROR, "option --nodename, name (%s) too long", ov->data.s);
             throw(0,0,0);
         }

CVSTrac 2.0.1