Implemented push command.
Showing
1 changed file
with
4 additions
and
0 deletions
... | @@ -329,6 +329,8 @@ list (struct mh_whatnow_env *wh, int argc, char **argv, int *status) | ... | @@ -329,6 +329,8 @@ list (struct mh_whatnow_env *wh, int argc, char **argv, int *status) |
329 | static int | 329 | static int |
330 | push (struct mh_whatnow_env *wh, int argc, char **argv, int *status) | 330 | push (struct mh_whatnow_env *wh, int argc, char **argv, int *status) |
331 | { | 331 | { |
332 | int rc; | ||
333 | invoke ("sendproc", "send", argc, argv, "-push", wh->file, &rc); | ||
332 | return 0; | 334 | return 0; |
333 | } | 335 | } |
334 | 336 | ||
... | @@ -365,6 +367,8 @@ refile (struct mh_whatnow_env *wh, int argc, char **argv, int *status) | ... | @@ -365,6 +367,8 @@ refile (struct mh_whatnow_env *wh, int argc, char **argv, int *status) |
365 | static int | 367 | static int |
366 | send (struct mh_whatnow_env *wh, int argc, char **argv, int *status) | 368 | send (struct mh_whatnow_env *wh, int argc, char **argv, int *status) |
367 | { | 369 | { |
370 | int rc; | ||
371 | invoke ("sendproc", "send", argc, argv, wh->file, NULL, &rc); | ||
368 | return 0; | 372 | return 0; |
369 | } | 373 | } |
370 | 374 | ... | ... |
-
Please register or sign in to post a comment