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 6dbb1fb..f297db8 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++;
                }