Changeset: 291429165bff for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/291429165bff
Modified Files:
        common/stream/mapi_stream.c
Branch: client_interrupts
Log Message:

Thinko.


diffs (12 lines):

diff --git a/common/stream/mapi_stream.c b/common/stream/mapi_stream.c
--- a/common/stream/mapi_stream.c
+++ b/common/stream/mapi_stream.c
@@ -170,7 +170,7 @@ setup_transfer(const char *req, const ch
 
        char buf[256];
        nread = mnstr_readline(rs, buf, sizeof(buf));
-       ok = (nread == 0 || (nread == 1 && buf[0] == '\n') || !(oob = 
mnstr_getoob(rs)));
+       ok = ((nread == 0 || (nread == 1 && buf[0] == '\n')) && !(oob = 
mnstr_getoob(rs)));
        if (!ok) {
                switch (oob) {
                case 1:                                 /* client side 
interrupt */
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to