Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/src/runtime/c-libs/smlnj-sockets/accept.c
ViewVC logotype

Diff of /sml/trunk/src/runtime/c-libs/smlnj-sockets/accept.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 726, Mon Nov 6 21:41:29 2000 UTC revision 727, Mon Nov 6 21:43:36 2000 UTC
# Line 27  Line 27 
27      if (newSock == -1)      if (newSock == -1)
28          return RAISE_SYSERR(msp, newSock);          return RAISE_SYSERR(msp, newSock);
29      else {      else {
30          ml_val_t        addr = ML_CData (msp, addrBuf, addrLen);          ml_val_t        data = ML_CData (msp, addrBuf, addrLen);
31          ml_val_t        res;          ml_val_t        addr, res;
32    
33            SEQHDR_ALLOC(msp, addr, DESC_word8vec, data, addrLen);
34          REC_ALLOC2(msp, res, INT_CtoML(newSock), addr);          REC_ALLOC2(msp, res, INT_CtoML(newSock), addr);
35          return res;          return res;
36      }      }

Legend:
Removed from v.726  
changed lines
  Added in v.727

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0