~ubuntu-branches/ubuntu/dapper/file-roller/dapper-updates

« back to all changes in this revision

Viewing changes to src/fr-command-rar.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2006-04-11 08:44:59 UTC
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: james.westby@ubuntu.com-20060411084459-9r22188ftese2ev2
Tags: upstream-2.14.1
ImportĀ upstreamĀ versionĀ 2.14.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
364
364
fr_command_rar_handle_error (FRCommand   *comm, 
365
365
                             FRProcError *error)
366
366
{
367
 
        if ((error->type == FR_PROC_ERROR_GENERIC) 
368
 
            && (error->status <= 1))
369
 
                error->type = FR_PROC_ERROR_NONE;
 
367
        if (error->type == FR_PROC_ERROR_GENERIC) {
 
368
                if (error->status <= 1)
 
369
                        error->type = FR_PROC_ERROR_NONE;
 
370
                else if (error->status == 3)
 
371
                        error->type = FR_PROC_ERROR_ASK_PASSWORD;
 
372
        }
370
373
}
371
374
 
372
375