chiark / gitweb /
Correct command FD!
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 1 Mar 2009 17:32:12 +0000 (17:32 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 1 Mar 2009 17:32:12 +0000 (17:32 +0000)
lib/uaudio-command.c

index 12a47dc..6b7ef66 100644 (file)
@@ -80,7 +80,7 @@ static void command_open(void) {
     fatal(errno, "error executing /bin/sh");
   }
   close(pfd[0]);
-  command_pid = pfd[1];
+  command_fd = pfd[1];
 }
 
 /** @brief Send audio data to subprocess */