projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated DH code, added code to tpqc to send DH info, removed extra gsscon messages.
[trust_router.git]
/
common
/
tr_name.c
diff --git
a/common/tr_name.c
b/common/tr_name.c
index
7136f49
..
b5e1526
100644
(file)
--- a/
common/tr_name.c
+++ b/
common/tr_name.c
@@
-43,7
+43,7
@@
TR_NAME *tr_new_name (char *name)
if (new = malloc(sizeof(TR_NAME))) {
new->len = strlen(name);
- if (new->buf = malloc(
new->len
+1)) {
+ if (new->buf = malloc(
(new->len)
+1)) {
strcpy(new->buf, name);
}
}