Code Error! Do with SYSTEM_LOCALTIME

XMLWordPrintable

    • Type: Incident report
    • Resolution: Duplicate
    • Priority: Trivial
    • None
    • Affects Version/s: 2.4.8, 3.0.1, 3.0.2, 3.2.0alpha1
    • Component/s: Agent (G)
    • None

      In src\libs\zbxsysinfo\common\system.c, SYSTEM_LOCALTIME
      line 72
      #if defined(HAVE_TM_TM_GMTOFF)
      gmtoff = tm->tm_gmtoff;
      #else
      gmtoff = -timezone;
      #endif
      but the timezone is not defined
      change to gmtoff = 0

            Assignee:
            Unassigned
            Reporter:
            Dominic Xu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: