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 12a47dc9e37cdeb34227553a848cd7b9bdb70f9c..6b7ef66309b108653c53303894b70d10c773b62f 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 */