Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 591194
Collapse All | Expand All

(-)nagios-plugins-snmp-old/src/check_snmp_storage.c (-2 / +4 lines)
Lines 244-251 Link Here
244
	if (liste[12].present==0) { printf(_("Put storage name\n")); print_usage();}
244
	if (liste[12].present==0) { printf(_("Put storage name\n")); print_usage();}
245
245
246
	/*  Check types */
246
	/*  Check types */
247
	if (liste[16].present==0) o_type_num=0;
247
	if (liste[16].present==0) {
248
	else {
248
		o_type_num=0;
249
		o_type=o_typeok[o_type_num];
250
	} else {
249
		for (i=0;i<num_typeok;i++) {
251
		for (i=0;i<num_typeok;i++) {
250
			if (strcmp(o_typeok[i],o_type)==0) {o_type_num=i;break;}
252
			if (strcmp(o_typeok[i],o_type)==0) {o_type_num=i;break;}
251
		}
253
		}

Return to bug 591194