version 1.28 | | version 1.29 |
---|
| | |
/* | | /* |
* static char *rcsid_sock_info_c = | | * static char *rcsid_sock_info_c = |
* "$Id: info.c,v 1.28 2006/05/18 05:27:44 mwedel Exp $"; | | * "$Id: info.c,v 1.29 2006/05/21 10:35:10 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
} | | } |
} | | } |
| | |
sl.buf=malloc(MAXSOCKBUF); | | sl.buf=malloc(MAXSOCKSENDBUF); |
snprintf((char*)sl.buf, MAXSOCKBUF, "magicmap %d %d %d %d ", (xmax-xmin+1), (ymax-ymin+1), | | snprintf((char*)sl.buf, MAXSOCKSENDBUF, "magicmap %d %d %d %d ", (xmax-xmin+1), (ymax-ymin+1), |
MAGIC_MAP_HALF - xmin, MAGIC_MAP_HALF - ymin); | | MAGIC_MAP_HALF - xmin, MAGIC_MAP_HALF - ymin); |
sl.len=strlen((char*)sl.buf); | | sl.len=strlen((char*)sl.buf); |
| | |