Browse code

disabling fifo by fifo="" in config worx now

Jiri Kuthan authored on 02/09/2002 22:19:12
Showing 1 changed files
... ...
@@ -372,6 +372,10 @@ int open_fifo_server()
372 372
 		/* everything is ok, we just do not want to start */
373 373
 		return 1;
374 374
 	}
375
+	if (strlen(fifo)==0) {
376
+		DBG("TM: open_uac_fifo: fifo disabled\n");
377
+		return 1;
378
+	}
375 379
 	DBG("TM: open_uac_fifo: opening fifo...\n");
376 380
 	if ((mkfifo(fifo, fifo_mode)<0) && (errno!=EEXIST)) {
377 381
 		LOG(L_ERR, "ERROR: open_fifo_server; can't create FIFO: "