rem: "too long date %s\n", strlen(t));
add: "too long date %d\n", strlen(t));
context: int open_fifo_server(){	char *t;	if (fifo==NULL) {		DBG("TM: open_uac_fifo: no fifo will be opened\n");		/* everything is ok, we just do not want to start */		return 1;	}	if (strlen(fifo)==0) {		DBG("TM: open_uac_fifo: fifo disabled\n");		return 1;	}	DBG("TM: open_uac_fifo: opening fifo...\n");	if ((mkfifo(fifo, fifo_mode)<0) && (errno!=EEXIST)) {		LOG(L_ERR, "ERROR: open_fifo_server; can't create FIFO: "			"%s (mode=%d)\n",			strerror(errno), fifo_mode);		return -1;	} 	DBG("DEBUG: fifo %s opened, mode=%d\n", fifo, fifo_mode );	time(&up_since);	t=ctime(&up_since);	if (strlen(t)+1>=MAX_CTIME_LEN) {		LOG(L_ERR, "ERROR: open_fifo_server: "			"too long date %s\n", strlen(t));		return -1;	}	memcpy(up_since_ctime,t,strlen(t)+1);	process_no++;	fifo_pid=fork();	if (fifo_pid<0) {		LOG(L_ERR, "ERROR: open_fifo_server: failure to fork: %s\n",			strerror(errno));		return -1;	}	if (fifo_pid==0) { /* child == FIFO server */		LOG(L_INFO, "INFO: fifo process starting: %d\n", getpid());		/* call per-child module initialization too -- some		   FIFO commands may need it		*/		if (init_child(process_no) < 0 ) {			LOG(L_ERR, "ERROR: open_uac_fifo: init_child failed\n");			return -1;		}		fifo_read=open(fifo, O_RDONLY, 0);		if (fifo_read<0) {			LOG(L_ERR, "ERROR: open_uac_fifo: fifo_read did not open: %s\n",				strerror(errno));			return -1;		}		fifo_stream=fdopen(fifo_read, "r"	);		if (fifo_stream==NULL) {			LOG(L_ERR, "SER: open_uac_fifo: fdopen failed: %s\n",				strerror(errno));			return -1;		}		/* a real server doesn't die if writing to reply fifo fails */		signal(SIGPIPE, SIG_IGN);		LOG(L_INFO, "SER: open_uac_fifo: fifo server up at %s...\n",			fifo);		fifo_server( fifo_stream ); /* never retruns */	}	/* dad process */	pids[process_no]=fifo_pid;	/* make sure the read fifo will not close */	fifo_write=open(fifo, O_WRONLY, 0);	if (fifo_write<0) {		LOG(L_ERR, "SER: open_uac_fifo: fifo_write did not open: %s\n",			strerror(errno));		return -1;	}	return 1;}