revert xsl for . and ..
This commit is contained in:
parent
25d535703e
commit
18093441a8
9 changed files with 47 additions and 21 deletions
|
|
@ -870,6 +870,7 @@ from_client_msg(clicon_handle h,
|
|||
}
|
||||
reply:
|
||||
assert(cbuf_len(cbret));
|
||||
clicon_debug(1, "%s %s", __FUNCTION__, cbuf_get(cbret));
|
||||
if (send_msg_reply(ce->ce_s, cbuf_get(cbret), cbuf_len(cbret)+1) < 0){
|
||||
if (errno == ECONNRESET)
|
||||
clicon_log(LOG_WARNING, "client rpc reset");
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ validate_common(clicon_handle h,
|
|||
&td->td_tcvec, /* changed: wanted values */
|
||||
&td->td_clen) < 0)
|
||||
goto done;
|
||||
if (debug)
|
||||
if (debug>1)
|
||||
transaction_print(stderr, td);
|
||||
/* Mark as changed in tree */
|
||||
for (i=0; i<td->td_dlen; i++){ /* Also down */
|
||||
|
|
|
|||
|
|
@ -193,12 +193,12 @@ config_socket_init(clicon_handle h)
|
|||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* config_accept_client
|
||||
/*! Accept new socket client
|
||||
* XXX: credentials not properly implemented
|
||||
*/
|
||||
int
|
||||
config_accept_client(int fd, void *arg)
|
||||
config_accept_client(int fd,
|
||||
void *arg)
|
||||
{
|
||||
int retval = -1;
|
||||
clicon_handle h = (clicon_handle)arg;
|
||||
|
|
@ -218,7 +218,7 @@ config_accept_client(int fd, void *arg)
|
|||
char *mem;
|
||||
int i;
|
||||
|
||||
clicon_debug(1, "%s", __FUNCTION__);
|
||||
clicon_debug(2, "%s", __FUNCTION__);
|
||||
len = sizeof(from);
|
||||
if ((s = accept(fd, (struct sockaddr*)&from, &len)) < 0){
|
||||
clicon_err(OE_UNIX, errno, "%s: accept", __FUNCTION__);
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ backend_notify(clicon_handle h,
|
|||
struct handle_subscription *hs;
|
||||
int retval = -1;
|
||||
|
||||
clicon_debug(1, "%s %s", __FUNCTION__, stream);
|
||||
clicon_debug(2, "%s %s", __FUNCTION__, stream);
|
||||
/* First thru all clients(sessions), and all subscriptions and find matches */
|
||||
for (ce = backend_client_list(h); ce; ce = ce_next){
|
||||
ce_next = ce->ce_next;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue