projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bd7fb94
)
connection debug on text client
author
Art Cancro
<ajc@citadel.org>
Sat, 14 May 2016 15:03:47 +0000
(11:03 -0400)
committer
Art Cancro
<ajc@citadel.org>
Sat, 14 May 2016 15:03:47 +0000
(11:03 -0400)
textclient/src/citadel_ipc.c
patch
|
blob
|
history
diff --git
a/textclient/src/citadel_ipc.c
b/textclient/src/citadel_ipc.c
index 1992ee8eb81b6f694f8a10698be3a57345d5aa5f..f1722f71b0bcb245bf110815b608f627e18e26a8 100644
(file)
--- a/
textclient/src/citadel_ipc.c
+++ b/
textclient/src/citadel_ipc.c
@@
-3335,6
+3335,7
@@
CtdlIPC* CtdlIPC_new(int argc, char **argv, char *hostbuf, char *portbuf)
else {
snprintf(sockpath, sizeof sockpath, "%s/%s", citport, "citadel.socket");
}
+ printf("[%s]\n", sockpath);
ipc->sock = uds_connectsock(&(ipc->isLocal), sockpath);
if (ipc->sock == -1) {
ifree(ipc);
@@
-3347,6
+3348,7
@@
CtdlIPC* CtdlIPC_new(int argc, char **argv, char *hostbuf, char *portbuf)
return ipc;
}
+ printf("[%s:%s]\n", cithost, citport);
ipc->sock = tcp_connectsock(cithost, citport);
if (ipc->sock == -1) {
ifree(ipc);