summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8aba9d6)
raw | patch | inline | side by side (parent: 8aba9d6)
author | Korynkevych, RomanX <romanx.korynkevych@intel.com> | |
Wed, 14 Dec 2016 11:11:28 +0000 (11:11 +0000) | ||
committer | Roman Korynkevych <romanx.korynkevych@intel.com> | |
Tue, 3 Jan 2017 14:55:32 +0000 (14:55 +0000) |
Change-Id: Ic57c14abb8b6b31547e97e6c394b8c3147b1e6b2
Signed-off-by: Korynkevych, RomanX <romanx.korynkevych@intel.com>
Signed-off-by: Korynkevych, RomanX <romanx.korynkevych@intel.com>
src/snmp_agent.c | patch | blob | history |
diff --git a/src/snmp_agent.c b/src/snmp_agent.c
index 4b963d0046af510ed8f71e6eaea023b16307cfd8..8c7b822884bc928f39a3975c20467d7380c179fb 100644 (file)
--- a/src/snmp_agent.c
+++ b/src/snmp_agent.c
#define ERR_BUF_SIZE 1024
#define TYPE_STRING -1
+#ifndef MIN
+#define MIN(x, y) ((x) < (y) ? (x) : (y))
+#endif
+
struct oid_s {
oid oid[MAX_OID_LEN];
size_t oid_len;