diff --git a/src/makefile b/src/makefile index d78f199..7eac74f 100755 --- a/src/makefile +++ b/src/makefile @@ -4,7 +4,7 @@ AR=ar LD=ld LN=ln CC=cc -fPIC -CO=-c -g +CO=-c -g -DMAX_INDEX_LEN=64 -DMAX_FILED_NUM=32 LDFLAG=-shared -g OUTLIB=../lib OUTBIN=../bin diff --git a/src/tcp.c b/src/tcp.c index 7568946..eb5fdd8 100644 --- a/src/tcp.c +++ b/src/tcp.c @@ -1724,9 +1724,9 @@ long lPollRequest(SATvm *pstSovm, SKCon *pstCon, TFace *pstFace, void *pstVoi pstFace->m_lDLen = pstRun->m_lRowSize; if(NULL == (pvData = pProtocaJava(pstSovm, pstVoid, pstFace, pvData, pstFace->m_lRows))) { - pstFace->m_lErrno = RESOU_DISABLE; - pvData = (void *)pstFace + sizeof(TFace); - return lSendBuffer(pstCon->m_skSock, (void *)pstFace, sizeof(TFace)); + pstFace->m_lErrno = RESOU_DISABLE; + pvData = (void *)pstFace + sizeof(TFace); + return lSendBuffer(pstCon->m_skSock, (void *)pstFace, sizeof(TFace)); } pstSovm->pstVoid = pstVoid;