comparison lib/local.c @ 918:e9f22ad1dec5

2007-4-26 Brian Masney <masneyb@gftp.org> * src/uicommon/gftpui.c (_gftpui_common_trans_file_or_dir) - don't attempt to create the directory if it already exists. (gftpui_common_add_file_transfer) - don't ask the user what to do with an individual directory that needs to be transferred. * lib/local.c (local_mkdir) - removed code that checks for the EEXISTS error.
author masneyb
date Fri, 27 Apr 2007 00:40:52 +0000
parents e0d98c63614d
children c99b134c6185
comparison
equal deleted inserted replaced
917:afea4eaec5f0 918:e9f22ad1dec5
553 request->logging_function (gftp_logging_misc, request, 553 request->logging_function (gftp_logging_misc, request,
554 _("Successfully made directory %s\n"), 554 _("Successfully made directory %s\n"),
555 directory); 555 directory);
556 return (0); 556 return (0);
557 } 557 }
558 else if (errno == EEXIST)
559 return (0);
560 else 558 else
561 { 559 {
562 request->logging_function (gftp_logging_error, request, 560 request->logging_function (gftp_logging_error, request,
563 _("Error: Could not make directory %s: %s\n"), 561 _("Error: Could not make directory %s: %s\n"),
564 directory, g_strerror (errno)); 562 directory, g_strerror (errno));