Skip to content
Snippets Groups Projects
  1. Dec 06, 2015
    • rswindell's avatar
      QWK import/export now correctly handles the unexpected case of RECIPIENTNETTYPE · 3f587dd7
      rswindell authored
      and RECIPIENTNETADDR fields in messages posted to sub-boards. Apparently
      GoldEd+ does this and it triggered a chain of bugs (mostly cosmetic), but bugs
      that bugged me, so I'm squashing them. Now messages being export to QWK will
      not include the RECIPIENTNETTYPE/ADDR information unless it's netmail.
      Ditto for importing. Also, the net_type is more accurately determined (i.e. if
      there's no '@' in the address, as there not be any expected for QWK and Fido
      net addresses).
      3f587dd7
    • rswindell's avatar
      smbutil V (capital 'v') now output more verbose header data than v (lower-case) · 358754af
      rswindell authored
      All other command options remain case insensitive.
      358754af
    • rswindell's avatar
      smb_hfield_add_netaddr(), and by extension, the smb_hfield_netaddr() macro, · a760467d
      rswindell authored
      If the specified or detected net_type is not Internet, only store the address
      portion of the email address in the *NETADDR hfield.
      If the net_type argument is a NULL pointer, automatically add the *NETTYPE
      hfield too.
      New functions:
      - smb_netaddr_type() - returns the string/name of a specified net_type.
      - smb_get_net_type_by_addr() - parses just the network address field.
      Change short/ushort's to int16_t/uint16_t's.
      Remove date from copyright.
      a760467d
  2. Dec 05, 2015
    • deuce's avatar
      Send all log messages to statfp (defaults to stderr) instead of confp (defaults · 00b534ac
      deuce authored
      to stdout).
      
      Previous behaviour was:
      1) By default, send error messages to errfp (stderr), and other log messages to
         confp (stdout).
      2) If -e and one of -o or -q are specified, also send a copy of error messages
         to statfp (defaults to stderr, changed to /dev/null by -n)
      3) If -e is specified, also send a copy of error messages to confp (defaults to stdout)
      
      If -e, -o, were both specified, this resulted in an error log entry going into the file
      specified by -e, the file specified by -o, and confp (stdout by default).
      
      New behaviour:
      1) By default, send error messages to errfp (stderr), and other log messages to statfp
         (stderr).
      2) If -e is specified, send error messages to the specified file and statfp (stderr).
      3) Always send status messages to statfp (stderr).
      
      Set up some more stuff for jsdoor...
      
      Call gethostname() since there is no "SCFG value" for it.
      
      Send "status messages" (log messages that aren't errors, and the banner) to
      /dev/null by default (ie: force the "-n" argument)
      
      Send "error messages" (log messages that are error according to log level) to
      "error.log" by default (ie: force the "-eerror.log" argument)
      00b534ac
  3. Dec 04, 2015
  4. Dec 03, 2015
    • rswindell's avatar
      Bug-fix/enhancement: Allow QWKnet netmail to be sent using the JavaScript · d2892791
      rswindell authored
      MsgBase.save_msg() method. The bug was that it was forcing the idx.to value to
      0 which would only work (in theory) for mail going to a QWKnet hub.
      Now, save_msg() will check the 'to_net_addr' property of the header object
      (or recipient objects) and actually verify that it/they are routeable QWKnet
      address(es) and throw an exception if not.
      If the first hop is a QWKnet node, sets the to_ext (and thus, idx.to value) to
      the account number of the node. This also looks up full-routes via the
      route.dat and replaces the to_net_addr value with the full route if necessary.
      I guess nobody (including me) tried sending QWKnet netmail via JS before.
      d2892791
    • rswindell's avatar
      Make absolutely sure that useron.number is 0 if answer() returns without · 3b397c05
      rswindell authored
      logging in a user. Apparently it's possible to disconnect during an SSH login
      and have this function return with useron.number set to a valid user number
      even though there was no successful login, leading to undesireable things
      happening in logout().
      3b397c05
  5. Dec 02, 2015
  6. Nov 30, 2015
  7. Nov 27, 2015
  8. Nov 26, 2015
Loading