diff options
author | Gerald Combs <gerald@wireshark.org> | 2007-01-02 22:49:57 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2007-01-02 22:49:57 +0000 |
commit | 53689800e6eff70913b237b513ab5db7ce742da2 (patch) | |
tree | 67e32c486f4dfc1e2784b27c71eb2aadb8a2dd09 /editcap.c | |
parent | 77694f8b8e69ac9c074e0ff1076bcda0a9a6877d (diff) |
Move epan/crypt-md5.[ch] to epan/crypt. Remove
epan/crypt/airpdcap_md5.[ch]. Fix up whitespace.
svn path=/trunk/; revision=20277
Diffstat (limited to 'editcap.c')
-rw-r--r-- | editcap.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -47,7 +47,7 @@ # include "strptime.h" #endif -#include "epan/crypt-md5.h" +#include "epan/crypt/crypt-md5.h" #include "svnversion.h" @@ -475,7 +475,7 @@ int main(int argc, char *argv[]) struct tm starttm; memset(&starttm,0,sizeof(struct tm)); - + if(!strptime(optarg,"%F %T",&starttm)) { fprintf(stderr, "editcap: \"%s\" isn't a valid time format\n\n", optarg); @@ -484,7 +484,7 @@ int main(int argc, char *argv[]) check_startstop = TRUE; starttm.tm_isdst = -1; - + starttime = mktime(&starttm); break; } |