]> bicyclesonthemoon.info Git - ott/enhance/commitdiff
STDOUT! Facepalm #3.
authorb <b@0d794883-4e4e-4f65-aa7a-0e7f5947bab5>
Mon, 30 Dec 2013 21:44:34 +0000 (21:44 +0000)
committerb <b@0d794883-4e4e-4f65-aa7a-0e7f5947bab5>
Mon, 30 Dec 2013 21:44:34 +0000 (21:44 +0000)
git-svn-id: svn://botcastle1b/npb@20 0d794883-4e4e-4f65-aa7a-0e7f5947bab5

npbd
npbd.cpp

diff --git a/npbd b/npbd
index a25865a71467959749d529e9756dee480e3dc873..0642aafeca26f76488bd242d979c5a4f26ad0109 100755 (executable)
Binary files a/npbd and b/npbd differ
index 41d06f71f5eb81534a6da5def21c63bad53925e2..6854c54e44dd148b3369e7cafd0d3585c7a4e031 100644 (file)
--- a/npbd.cpp
+++ b/npbd.cpp
@@ -79,7 +79,7 @@ int main (int argc, char *argv[])
        if(q!=0)
        {
                fread(buf,1,q,pix);
-               fwrite(buf,1,q,pix);
+               fwrite(buf,1,q,stdout);
        }
        fclose(pix);
        fflush(stdout);