aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-01-21 11:37:43 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-01-21 11:37:43 +0100
commitada4556833ce249a0d4c3c2a5a91e0a6a01b837f (patch)
treec2e94d36b5ead42f5cf3090acd6566ede0090a80 /main.c
parentBunch of renames + macros. (diff)
downloadcalp-ada4556833ce249a0d4c3c2a5a91e0a6a01b837f.tar.gz
calp-ada4556833ce249a0d4c3c2a5a91e0a6a01b837f.tar.xz
Rename all instances of string to strbuf.
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/main.c b/main.c
index 0cf0439a..278aac26 100644
--- a/main.c
+++ b/main.c
@@ -17,9 +17,7 @@ int main (int argc, char* argv[argc]) {
puts("Please give vdir as first argument");
exit (1);
}
- // vcalendar cal;
- // init_vcalendar(&cal);
- // CONSTRUCT(vcalendar, &cal);
+
SNEW(vcalendar, cal);
char* dname = argv[1];
@@ -28,7 +26,6 @@ int main (int argc, char* argv[argc]) {
int fcount = 0;
while ((d = readdir(dir)) != NULL) {
-
/* Check that it's a regular file */
if (d->d_type != DT_REG) continue;