On 10/13/2010 05:11 PM, Chris Lumens wrote:
+ switch (loaderData->method) { + case METHOD_CDROM: + logMessage(DEBUGLVL, "in STEP_EXTRAS, method = METHOD_CDROM"); + break; + + case METHOD_HD: + logMessage(DEBUGLVL, "in STEP_EXTRAS, method = METHOD_HD"); + break; + + case METHOD_NFS: + logMessage(DEBUGLVL, "in STEP_EXTRAS, method = METHOD_NFS"); + break; + + case METHOD_URL: + logMessage(DEBUGLVL, "in STEP_EXTRAS, method = METHOD_URL"); + break; + + default: + logMessage(DEBUGLVL, "in STEP_EXTRAS, method = ??"); + break; + }
Can you define a lookup array for the method names instead? Ales _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list