Back to index

courier  0.68.2
comsubmitclient2.c
Go to the documentation of this file.
00001 /*
00002 ** Copyright 1998 - 2006 Double Precision, Inc.
00003 ** See COPYING for distribution information.
00004 */
00005 
00006 #include      "courier.h"
00007 #include      <stdio.h>
00008 #include      <string.h>
00009 
00010 void submit_print_stdout(const char *p)
00011 {
00012        if (p)
00013        {
00014               if (fwrite(p, strlen(p), 1, stdout) != 1)
00015                      ; /* muzzle gcc warning */
00016        }
00017        else   fflush(stdout);
00018 }