X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Foptions.c;h=8490e99c38a55c8fef82acbdae803033eb3941a4;hb=173f78f50536784bdc6a59d4586ba409b2b69182;hp=88c1c925c5c9dcaf9d19505ebe56f9fe5dd4b06d;hpb=0edd22d3d3fb9bafa8795815517e9ad51d51641f;p=yaz-moved-to-github.git diff --git a/src/options.c b/src/options.c index 88c1c92..8490e99 100644 --- a/src/options.c +++ b/src/options.c @@ -66,7 +66,7 @@ int options (const char *desc, char **argv, int argc, char **arg) } if (desc[i] == ':') { /* option with string argument */ - type = desc[i++]; + type = desc[i++]; } if (desc_char == ch) { @@ -107,6 +107,7 @@ int options (const char *desc, char **argv, int argc, char **arg) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab