snmp_agent: Replace strndup() with internal implementation
authorPavel Rochnyack <pavel2000@ngs.ru>
Tue, 19 Jun 2018 04:11:09 +0000 (11:11 +0700)
committerPavel Rochnyack <pavel2000@ngs.ru>
Tue, 19 Jun 2018 04:13:22 +0000 (11:13 +0700)
commit383df7c4409738283ac2cd8d972104353ddbd54c
tree0a0d61186bc7203208fe2dff1877a4a031fe8e8f
parent655acd5a11d405b0fae8f2921de8216336825e90
snmp_agent: Replace strndup() with internal implementation

This adressed to fix Solaris 10 builds.

Closes: #2814
src/snmp_agent.c