aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorM.Gergő2020-05-20 00:20:53 +0200
committerM.Gergő2020-05-20 00:20:53 +0200
commitee15e1da29eea49057ea3b87ac861e6a2f1fea96 (patch)
treeb508bd3ac8a8143fa9a8d9c5e4ebc16358c9c021 /src/main.c
parent2ad766df8f2bd45b7c0feff2fe19fc5f67b80842 (diff)
downloadlightconfini-ee15e1da29eea49057ea3b87ac861e6a2f1fea96.tar.gz
lightconfini-ee15e1da29eea49057ea3b87ac861e6a2f1fea96.zip
New function: lciniReadOutOwn() + Clarifying numeric types
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 7c4b0d5..04c911a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -17,10 +17,12 @@ lcinimyReadFunc mylciniReadOutFunct=myfunct;
+
+
void myfunct(int line, int linelen, char *section, int sectionlen, char *param, int paramlen, char *value, int valuelen, char *comment, int commentlen, char *error, int errorlen ){
- printf("LN: %d,\tLL: %d,\tSC: %*s,%2d P: %*s,%2d V: %*s,%2d C: %*s,%2d ER: %*s \n", line, linelen, lens, section,sectionlen,
- lenp, param, paramlen, lenv, value, valuelen, lenc, comment, commentlen, elen, error);
+ printf("LN: %d,\tLL: %d,\tSC: %*s,%2d P: %*s,%2d V: %*s,%2d C: %*s,%2d ER: %*s,%2d\n", line, linelen, lens, section,sectionlen,
+ lenp, param, paramlen, lenv, value, valuelen, lenc, comment, commentlen, elen, error, errorlen);
}