Skip to content
  • rswindell's avatar
    Bug-fix: packetized messages following an AreaFix netmail message would be · 3bca3dcb
    rswindell authored
    skipped/ignored: import_netmail() moves the file position to the end of the
    message but returns non-zero (-2) when encountering an AreaFix message
    and the calling code assumes a non-zero return value indicates an error and
    the file position is somewhere *before* the end of the message (the NUL char).
    Resolved by saving the current file position before calling import_netmail()
    and restoring it after, so it matters not what improt_netmail does with the
    file pointer or what the return value is (in this case).
    Thanks for the report, Joe!
    3bca3dcb