Code Review
/
ric-plt
/
lib
/
rmr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix block of dynamic route table load
[ric-plt/lib/rmr.git]
/
src
/
rmr
/
si
/
src
/
rmr_si.c
diff --git
a/src/rmr/si/src/rmr_si.c
b/src/rmr/si/src/rmr_si.c
index
4aefe4a
..
d1b9f26
100644
(file)
--- a/
src/rmr/si/src/rmr_si.c
+++ b/
src/rmr/si/src/rmr_si.c
@@
-623,7
+623,7
@@
static void* init( char* uproto_port, int def_msg_size, int flags ) {
port = proto_port; // assume something like "1234" was passed
}
port = proto_port; // assume something like "1234" was passed
}
- if( (tok = getenv( ENV_RTG_PORT )) != NULL && atoi( tok ) <
1 ) { // must check here -- if < 1
then we just start static file 'listener'
+ if( (tok = getenv( ENV_RTG_PORT )) != NULL && atoi( tok ) <
0 ) { // must check here -- if < 0
then we just start static file 'listener'
static_rtc = 1;
}
static_rtc = 1;
}