diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-11-05 07:42:33 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-11-05 07:42:33 +0000 |
commit | e8c1720d8476aa310bf470d023e59f3d5e14a84a (patch) | |
tree | 3c82f6ae7e5f9238a7788e80d4271d55d3cbe581 /misc.c | |
parent | Allow blank passwords to be passed via the management interface. (diff) | |
download | openvpn-e8c1720d8476aa310bf470d023e59f3d5e14a84a.tar.xz |
svn merge -r 771:780 $SO/trunk/openvpn
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@781 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -843,6 +843,14 @@ manage_env (char *str) /* add/modify/delete environmental strings */ void +setenv_counter (struct env_set *es, const char *name, counter_type value) +{ + char buf[64]; + openvpn_snprintf (buf, sizeof(buf), counter_format, value); + setenv_str (es, name, buf); +} + +void setenv_int (struct env_set *es, const char *name, int value) { char buf[64]; |