changeset 1992:8fae55e99268

<oerjan> sed -i s/1000/10000/ fueue.c #Whistles innocently
author HackBot
date Sat, 02 Feb 2013 22:56:03 +0000
parents 511c13628966
children a7cc9b351f25
files fueue.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/fueue.c	Sat Feb 02 22:55:48 2013 +0000
+++ b/fueue.c	Sat Feb 02 22:56:03 2013 +0000
@@ -278,7 +278,7 @@
 {
     Queue q;
     initQueue(&q);  // q is empty now
-    char s[1000] = "72 101 108 108 111 44 32 119 111 114 108 100 33 10 H";
+    char s[10000] = "72 101 108 108 111 44 32 119 111 114 108 100 33 10 H";
     int printmode = FALSE;  // a debug mode that will print the fueue program at each step
     int k = 0;
 
@@ -293,11 +293,11 @@
             }
             else
             {
-                strncpy(s, argv[1], 1000);
+                strncpy(s, argv[1], 10000);
             }
             break;
         case 3:
-            strncpy(s, argv[2], 1000);
+            strncpy(s, argv[2], 10000);
             printmode = (strcmp(argv[1], "--print") == 0);
             break;
         default: