X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=options.c;fp=options.c;h=b76059ee939c5d87a7ad7eeae2e2a296908a08de;hp=160a8a87c584dd1f70dbc2bfba0d2c5346558aa9;hb=20a671d76854520ad9d5ea9d481e008240465e62;hpb=64143650bc9c04fadc99694c499cf34750bc2804 diff --git a/options.c b/options.c index 160a8a8..b76059e 100644 --- a/options.c +++ b/options.c @@ -31,7 +31,8 @@ struct options options = { 0, /* by default use priority 0 */ "lcr@your.machine", /* source mail adress */ "/var/tmp", /* path of lock files */ - 0700 /* rights of lcr admin socket */ + 0700, /* rights of lcr admin socket */ + 0 /* enable gsm */ }; char options_error[256]; @@ -249,6 +250,10 @@ int read_options(void) { options.socketrights = strtol(param, NULL, 0); } else + if (!strcmp(option,"gsm")) + { + options.gsm = 1; + } else { SPRINT(options_error, "Error in %s (line %d): wrong option keyword %s.\n", filename,line,option); goto error;