version 1.8, 2002/10/21 01:11:44 |
version 1.9, 2002/10/21 01:59:16 |
|
|
/* $OpenXM: OpenXM/src/kan96xx/plugin/sm1Socket.c,v 1.7 2002/10/21 00:37:00 takayama Exp $ */ |
/* $OpenXM: OpenXM/src/kan96xx/plugin/sm1Socket.c,v 1.8 2002/10/21 01:11:44 takayama Exp $ */ |
/* msg0s.c */ |
/* msg0s.c */ |
#include <stdio.h> |
#include <stdio.h> |
#include <sys/types.h> |
#include <sys/types.h> |
Line 574 struct object KsocketReadHTTP(struct object socketObj) |
|
Line 574 struct object KsocketReadHTTP(struct object socketObj) |
|
break; |
break; |
} |
} |
} |
} |
fprintf(stderr,"Waiting in socketReadBlock (spin lock to wait an empty line). flagmax(0d,0a)=%d, contentLength\n",flagmax,contentLength); |
fprintf(stderr,"Waiting in socketReadBlock (spin lock to wait an empty line). flagmax(0d,0a)=%d, contentLength=%d\n",flagmax,contentLength); |
if (strlen(s) == 0) {fprintf(stderr,"but I'm not receiving data. Expecting a bug.\n"); |
if (strlen(s) == 0) {fprintf(stderr,"but I'm not receiving data. Expecting a bug.\n"); |
}else{ |
}else{ |
/* for debugging. */ |
/* for debugging. */ |
Line 582 struct object KsocketReadHTTP(struct object socketObj) |
|
Line 582 struct object KsocketReadHTTP(struct object socketObj) |
|
if ((sss[i] >= ' ') && (sss[i] < 0x7f)) { |
if ((sss[i] >= ' ') && (sss[i] < 0x7f)) { |
fprintf(stderr,"%c",sss[i]); |
fprintf(stderr,"%c",sss[i]); |
}else{ |
}else{ |
fprintf(stderr,"%3x",sss[i]); |
fprintf(stderr,"(%3x)",sss[i]); |
if (sss[i] == 0xa) fprintf(stderr,"\n"); |
if (sss[i] == 0xa) fprintf(stderr,"\n"); |
} |
} |
|
|