projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c229a02
)
* fix typos
author
Wilfried Göesgens
<willi@citadel.org>
Tue, 4 Aug 2009 06:43:11 +0000
(06:43 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Tue, 4 Aug 2009 06:43:11 +0000
(06:43 +0000)
webcit/tcp_sockets.c
patch
|
blob
|
history
diff --git
a/webcit/tcp_sockets.c
b/webcit/tcp_sockets.c
index 2c928e199d951c8d2695130fd0900a3f5dd81d41..23fd9cf371422d8c9696647ebe42c7cb3e7126ae 100644
(file)
--- a/
webcit/tcp_sockets.c
+++ b/
webcit/tcp_sockets.c
@@
-214,7
+214,7
@@
int StrBuf_ServGetBLOB(StrBuf *buf, long BlobSize)
int rc;
WCC->ReadPos = NULL;
int rc;
WCC->ReadPos = NULL;
- rc = StrBufReadBLOB(buf, &WCC->serv_sock, 1, BlobSize, &Err);
+ rc = StrBufReadBLOB(buf, &WCC->serv_sock, 1, BlobSize, &Err
Str
);
if (rc < 0)
{
lprintf(1, "Server connection broken: %s\n",
if (rc < 0)
{
lprintf(1, "Server connection broken: %s\n",
@@
-244,7
+244,7
@@
void serv_write(const char *buf, int nbytes)
retval = write(WCC->serv_sock, &buf[bytes_written],
nbytes - bytes_written);
if (retval < 1) {
retval = write(WCC->serv_sock, &buf[bytes_written],
nbytes - bytes_written);
if (retval < 1) {
- const char *
StrError = strerror(errno)
);
+ const char *
ErrStr = strerror(errno
);
lprintf(1, "Server connection broken: %s\n",
(ErrStr)?ErrStr:"");
close(WCC->serv_sock);
lprintf(1, "Server connection broken: %s\n",
(ErrStr)?ErrStr:"");
close(WCC->serv_sock);