Proper redirection of outputs.
authorZdeněk Šustr <sustr4@cesnet.cz>
Fri, 14 Nov 2008 14:28:53 +0000 (14:28 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Fri, 14 Nov 2008 14:28:53 +0000 (14:28 +0000)
org.glite.lb.client/src/notify.c

index 659f577..571ee87 100644 (file)
@@ -162,7 +162,7 @@ int main(int argc,char **argv)
                if ( !edg_wll_NotifNew(ctx,
                                        (edg_wll_QueryRec const* const*)conditions,
                                        flags, sock, fake_addr, &id_out, &valid))
-                       fprintf(stderr,"notification ID: %s\nvalid: %s (%ld)\n",
+                       fprintf(stdout,"notification ID: %s\nvalid: %s (%ld)\n",
                                        edg_wll_NotifIdUnparse(id_out),
                                        TimeToStr(valid),
                                        valid);