[open-ils-commits] r7976 - branches/rel_1_2/Open-ILS/src/extras
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Nov 3 18:34:38 EDT 2007
Author: erickson
Date: 2007-11-03 18:19:26 -0400 (Sat, 03 Nov 2007)
New Revision: 7976
Modified:
branches/rel_1_2/Open-ILS/src/extras/oils_requestor.c
Log:
backporting case breaks
Modified: branches/rel_1_2/Open-ILS/src/extras/oils_requestor.c
===================================================================
--- branches/rel_1_2/Open-ILS/src/extras/oils_requestor.c 2007-11-03 22:16:46 UTC (rev 7975)
+++ branches/rel_1_2/Open-ILS/src/extras/oils_requestor.c 2007-11-03 22:19:26 UTC (rev 7976)
@@ -27,12 +27,12 @@
while( (c = getopt( argc, argv, "f:u:p:s:c:i:" )) != -1 ) {
switch(c) {
case '?': return -1;
- case 'f': config = strdup(optarg);
- case 'c': context = strdup(optarg);
- case 'u': username = strdup(optarg);
- case 'p': password = strdup(optarg);
- case 's': script = strdup(optarg);
- case 'i': idl_filename = strdup(optarg);
+ case 'f': config = strdup(optarg); break;
+ case 'c': context = strdup(optarg); break;
+ case 'u': username = strdup(optarg); break;
+ case 'p': password = strdup(optarg); break;
+ case 's': script = strdup(optarg); break;
+ case 'i': idl_filename = strdup(optarg); break;
}
}
More information about the open-ils-commits
mailing list