projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more places where we can use cm_lengths;
[citadel.git]
/
citadel
/
modules
/
network
/
serv_netspool.c
diff --git
a/citadel/modules/network/serv_netspool.c
b/citadel/modules/network/serv_netspool.c
index 5b90ef23d89f40510e98920e04bc9a1922dace9d..3dfec6375a9c379d4accf83812f327ae54ac2a0a 100644
(file)
--- a/
citadel/modules/network/serv_netspool.c
+++ b/
citadel/modules/network/serv_netspool.c
@@
-462,7
+462,7
@@
void network_process_buffer(char *buffer, long size, HashList *working_ignetcfg,
if (strcasecmp(msg->cm_fields[eDestination], config.c_nodename)) {
/* route the message */
- Buf = NewStrBufPlain(
msg->cm_fields[eDestination], -1
);
+ Buf = NewStrBufPlain(
CM_KEY(msg,eDestination)
);
if (CtdlIsValidNode(&nexthop,
NULL,
Buf,