Browse Source

If there are no controls, just skip creating the controls thread.

pre-master-46
Holger Vogt 7 years ago
parent
commit
eb667118cf
  1. 7
      src/sharedspice.c

7
src/sharedspice.c

@ -442,9 +442,14 @@ sighandler_sharedspice(int num)
void
exec_controls(wordlist *newcontrols)
{
if (newcontrols) {
if (newcontrols && newcontrols->wl_word && !eq(newcontrols->wl_word,"")) {
shcontrols = newcontrols;
}
else {
tid2 = 0;
return;
}
#ifdef THREADS
#ifdef HAVE_LIBPTHREAD
cont_condition = FALSE;

Loading…
Cancel
Save