| 485 | } |
| 486 | |
| 487 | static char *ssiReadString(const ssiInfo *d) |
| 488 | { |
| 489 | char *buf; |
| 490 | int l; |
| 491 | l=s_readint(d->f_read); |
| 492 | buf=(char*)omAlloc0(l+1); |
| 493 | int throwaway =s_getc(d->f_read); /* skip ' '*/ |
| 494 | throwaway=s_readbytes(buf,l,d->f_read); |
| 495 | //if (throwaway!=l) printf("want %d, got %d bytes\n",l,throwaway); |
| 496 | buf[l]='\0'; |
| 497 | return buf; |
| 498 | } |
| 499 | |
| 500 | static int ssiReadInt(s_buff fich) |
| 501 | { |
no test coverage detected