Return to cmd-save-buffer.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.14, 2012/05/21 18:27:42 | version 1.15, 2012/07/10 11:53:01 | ||
---|---|---|---|
|
|
||
#include <sys/stat.h> | #include <sys/stat.h> | ||
#include <errno.h> | #include <errno.h> | ||
#include <stdlib.h> | |||
#include <string.h> | #include <string.h> | ||
#include "tmux.h" | #include "tmux.h" | ||
|
|
||
buffer = args_strtonum(args, 'b', 0, INT_MAX, &cause); | buffer = args_strtonum(args, 'b', 0, INT_MAX, &cause); | ||
if (cause != NULL) { | if (cause != NULL) { | ||
ctx->error(ctx, "buffer %s", cause); | ctx->error(ctx, "buffer %s", cause); | ||
xfree(cause); | free(cause); | ||
return (-1); | return (-1); | ||
} | } | ||