if(req->reset_timeout) {
remaining = (time_t) timeout;
req->reset_timeout = 0;
- osrfLogDebug( OSRF_LOG_MARK, "Recevied a timeout reset");
+ osrfLogDebug( OSRF_LOG_MARK, "Received a timeout reset");
} else {
remaining -= (int) (time(NULL) - start);
}
return -1;
}
- osrfLogDebug( OSRF_LOG_MARK, "Pushing [%d] onto requeust queue for session [%s] [%s]",
+ osrfLogDebug( OSRF_LOG_MARK, "Pushing [%d] onto request queue for session [%s] [%s]",
req->request_id, session->remote_service, session->session_id );
osrfListSet( session->request_queue, req, req->request_id );
return req->request_id;
"---------------------------------------------------------------------------------\n"
"Commands:\n"
"---------------------------------------------------------------------------------\n"
- "help - Display this message\n"
- "!<command> [args] - Forks and runs the given command in the shell\n"
+ "help - Display this message\n"
+ "!<command> [args] - Forks and runs the given command in the shell\n"
/*
"time - Prints the current time\n"
- "time <timestamp> - Formats seconds since epoch into readable format\n"
+ "time <timestamp> - Formats seconds since epoch into readable format\n"
*/
"set <variable> <value> - set a srfsh variable (e.g. set pretty_print true )\n"
- "print <variable> - Displays the value of a srfsh variable\n"
+ "print <variable> - Displays the value of a srfsh variable\n"
"---------------------------------------------------------------------------------\n"
"router query servers <server1 [, server2, ...]>\n"
- " - Returns stats on connected services\n"
+ " - Returns stats on connected services\n"
"\n"
"\n"
"request <service> <method> [ <json formatted string of params> ]\n"
- " - Anything passed in will be wrapped in a json array,\n"
- " so add commas if there is more than one param\n"
+ " - Anything passed in will be wrapped in a json array,\n"
+ " so add commas if there is more than one param\n"
"\n"
"\n"
"relay <service> <method>\n"
- " - Performs the requested query using the last received result as the param\n"
+ " - Performs the requested query using the last received result as the param\n"
"\n"
"\n"
"math_bench <num_batches> [0|1|2]\n"
- " - 0 means don't reconnect, 1 means reconnect after each batch of 4, and\n"
- " 2 means reconnect after every request\n"
+ " - 0 means don't reconnect, 1 means reconnect after each batch of 4, and\n"
+ " 2 means reconnect after every request\n"
"\n"
"introspect <service>\n"
- " - prints the API for the service\n"
+ " - prints the API for the service\n"
"\n"
"\n"
"---------------------------------------------------------------------------------\n"
" Commands for Open-ILS\n"
"---------------------------------------------------------------------------------\n"
"login <username> <password>\n"
- " - Logs into the 'server' and displays the session id\n"
- " - To view the session id later, enter: print login\n"
+ " - Logs into the 'server' and displays the session id\n"
+ " - To view the session id later, enter: print login\n"
"---------------------------------------------------------------------------------\n"
"\n"
"\n"
- "Note: long output is piped through 'less'. To search in 'less', type: /<search>\n"
+ "Note: long output is piped through 'less'. To search in 'less', type: /<search>\n"
"---------------------------------------------------------------------------------\n"
"\n"
);