* fix typos
authorWilfried Göesgens <willi@citadel.org>
Tue, 4 Aug 2009 06:43:11 +0000 (06:43 +0000)
committerWilfried Göesgens <willi@citadel.org>
Tue, 4 Aug 2009 06:43:11 +0000 (06:43 +0000)
webcit/tcp_sockets.c

index 2c928e199d951c8d2695130fd0900a3f5dd81d41..23fd9cf371422d8c9696647ebe42c7cb3e7126ae 100644 (file)
@@ -214,7 +214,7 @@ int StrBuf_ServGetBLOB(StrBuf *buf, long BlobSize)
        int rc;
        
        WCC->ReadPos = NULL;
-       rc = StrBufReadBLOB(buf, &WCC->serv_sock, 1, BlobSize, &Err);
+       rc = StrBufReadBLOB(buf, &WCC->serv_sock, 1, BlobSize, &ErrStr);
        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) {
-                       const char *StrError = strerror(errno));
+                       const char *ErrStr = strerror(errno);
                        lprintf(1, "Server connection broken: %s\n",
                                (ErrStr)?ErrStr:"");
                        close(WCC->serv_sock);