]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 178375 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 24 Feb 2009 20:41:26 +0000 (20:41 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 24 Feb 2009 20:41:26 +0000 (20:41 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

........
  r178375 | tilghman | 2009-02-24 14:40:02 -0600 (Tue, 24 Feb 2009) | 2 lines

  The 3 possible errors with pipe(2) are all impossible in this situation.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@178377 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/asterisk.c

index 9b3cb8f964a31138d506d11c5cf945c3a2dd6671..847e75dbab661b7275fdf63cdfd617d6fac07323 100644 (file)
@@ -3143,7 +3143,7 @@ int main(int argc, char *argv[])
                        int cpipe[2];
 
                        /* PIPE signal ensures that astcanary dies when Asterisk dies */
-                       pipe(cpipe);
+                       (void) pipe(cpipe);
                        canary_pipe = cpipe[0];
 
                        snprintf(canary_filename, sizeof(canary_filename), "%s/alt.asterisk.canary.tweet.tweet.tweet", ast_config_AST_RUN_DIR);