summaryrefslogtreecommitdiff
path: root/net/openag/patches/patch-ab
blob: 348751d5186108911165cfe75b38a20459431775 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
$NetBSD: patch-ab,v 1.1 2004/01/23 13:55:31 agc Exp $

--- libOpenAG/AGMain.cpp	2004/01/23 13:34:41	1.1
+++ libOpenAG/AGMain.cpp	2004/01/23 13:35:33
@@ -1660,30 +1660,30 @@
                 printf("about to execute: %s\n",temp3);
                 if (system(temp3) != 0)
                 {
-                    err_print("Completed Downloads directory: %s was not found, attempted to create, but failed.  
-                                Completed file: %s will be left in its current temporary directory: %s.\n",
+                    err_print("Completed Downloads directory: %s was not found, attempted to create, but failed.  \n"
+                                "Completed file: %s will be left in its current temporary directory: %s.\n",
                                 STATS.Prefs->FinishedDownloadsDirectory, STATS.connections[i].FileName,
                                 STATS.connections[i].FileDirectory);
                 }
                 else if (chdir((char*)STATS.Prefs->FinishedDownloadsDirectory) != 0)
                 {
-                        err_print("Completed Downloads directory: %s was not found, successfully created, 
-                            but failed to access.\n  This error will repeat, and files will be left in the 
-                            Temporary Downloads Directory", STATS.Prefs->FinishedDownloadsDirectory);
+                        err_print("Completed Downloads directory: %s was not found, successfully created, \n"
+                            "but failed to access.\n  This error will repeat, and files will be left in the \n"
+                            "Temporary Downloads Directory", STATS.Prefs->FinishedDownloadsDirectory);
                 }
                 delete(temp3);
             }
             else if (errno == EACCES)
             {
-                err_print("You do not have the correct permissions to access your specified download directory.  
-                        Please correct this and relogin (to audiogalaxy).\n  
-                        As such, all downloaded files will be left in your temporary directory.");
+                err_print("You do not have the correct permissions to access your specified download directory.  \n"
+                        "Please correct this and relogin (to audiogalaxy).\n  "
+                        "As such, all downloaded files will be left in your temporary directory.");
             }
             else
             {
-                err_print("Unhandled error encountered while trying to verify your Download Path.  
-                    Please check the error below and fix your download path.  
-                    All downloaded files will be left in your temporary directory.  Please Report.\n");
+                err_print("Unhandled error encountered while trying to verify your Download Path.  \n"
+                    "Please check the error below and fix your download path.  \n"
+                    "All downloaded files will be left in your temporary directory.  Please Report.\n");
             }
         }
         else