Revision cfc5ca2c som/net_helper-ml.c

View differences:

som/net_helper-ml.c
425 425
	int current;
426 426
	send_params params = {0,0,0,0};
427 427

  
428
	if (buffer_size <= 0) {
429
		fprintf(stderr,"Net-helper: message size problematic: %d\n", buffer_size);
430
		return buffer_size;
431
	}
432

  
428 433
	// if buffer is full, discard the message and return an error flag
429 434
	int index = next_S();
430 435
	if (index<0) {

Also available in: Unified diff