diff options
author | venaas <venaas> | 2009-01-13 14:58:10 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2009-01-13 14:58:10 +0000 |
commit | 4bfc37e9e0e05acb0d2a26b773929f29091ba807 (patch) | |
tree | ebe2d674a9c57029a5eef254a2aac5c53f3a252b /util.c | |
parent | 944f77756de661c1fff4a6da00c62d56fb143efc (diff) |
made it so it works with mix of dynamic and static servers for a realm
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@457 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -19,6 +19,8 @@ char *stringcopy(const char *s, int len) { char *r; + if (!s) + return NULL; if (!len) len = strlen(s); r = malloc(len + 1); |