Stupid typo
authorGlenn L McGrath <bug1@ihug.co.nz>
Sun, 14 Sep 2003 02:37:46 +0000 (02:37 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Sun, 14 Sep 2003 02:37:46 +0000 (02:37 -0000)
editors/sed.c

index 6dbb1fb8fe69e63dcd103d137e2a3ff2a9f78f06..f297db83b78f528d90796662e8dec8d75d28172a 100644 (file)
@@ -1160,7 +1160,7 @@ extern int sed_main(int argc, char **argv)
                else {
                        char *str_cmd = strdup(argv[optind]);
 
-                       add_cmd_str(strd_cmd);
+                       add_cmd_str(str_cmd);
                        free(str_cmd);
                        optind++;
                }