diff options
Diffstat (limited to 'ftp/atftp/files/patch-options.c')
-rw-r--r-- | ftp/atftp/files/patch-options.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/ftp/atftp/files/patch-options.c b/ftp/atftp/files/patch-options.c deleted file mode 100644 index fd96417175f2..000000000000 --- a/ftp/atftp/files/patch-options.c +++ /dev/null @@ -1,15 +0,0 @@ ---- options.c.orig 2003-04-25 08:16:18.000000000 +0800 -+++ options.c 2010-10-11 10:23:20.000000000 +0800 -@@ -273,6 +273,12 @@ - return ERR; - } - -+int opt_equal(struct tftp_opt *opt1, struct tftp_opt *opt2) -+{ -+ return ((strncmp(opt1->option, opt2->option, OPT_SIZE) == 0) && -+ (strncmp(opt1->value, opt2->value, OPT_SIZE) == 0)); -+} -+ - void opt_set_tsize(int tsize, struct tftp_opt *options) - { - snprintf(options[OPT_TSIZE].value, VAL_SIZE, "%d", tsize); |