Package: pvpgn / 1.8.5-2.1

spelling.patch Patch series | download
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
Last-Update: 2013-10-19
Forwarded: no
Author: Dmitry Smirnov <onlyjob@member.fsf.org>
Description: spelling and man pages corrections

--- a/src/bnetd/command.c
+++ b/src/bnetd/command.c
@@ -2818,9 +2818,9 @@
 
   if (dest[0]=='\0')
     {
       cbdata.tag = conn_get_clienttag(c);
-      message_send_text(c,message_type_info,c,"Currently accessable games:");
+      message_send_text(c,message_type_info,c,"Currently accessible games:");
     }
   else if (strcasecmp(&dest[0],"all")==0)
     {
       cbdata.tag = 0;
@@ -2871,9 +2871,9 @@
 
   if (text[i]=='\0')
     {
       tag = clienttag_uint_to_str(conn_get_clienttag(c));
-      message_send_text(c,message_type_info,c,"Currently accessable channels:");
+      message_send_text(c,message_type_info,c,"Currently accessible channels:");
     }
   else if (strcmp(&text[i],"all")==0)
     {
       tag = NULL;
@@ -4241,9 +4241,9 @@
 
   if (account_set_strattr(account,key,value)<0)
     message_send_text(c,message_type_error,c,"Unable to set key");
   else
-    message_send_text(c,message_type_error,c,"Key set succesfully");
+    message_send_text(c,message_type_error,c,"Key set successfully");
 
   return 0;
 }
 
--- a/src/bnetd/sql_common.c
+++ b/src/bnetd/sql_common.c
@@ -712,9 +712,9 @@
 	    team->xp = atoi(row[10]);
 	    team->level = atoi(row[11]);
 	    team->rank = atoi(row[12]);
 
-	    eventlog(eventlog_level_trace,__FUNCTION__,"succesfully loaded team %u",team->teamid);
+	    eventlog(eventlog_level_trace,__FUNCTION__,"successfully loaded team %u",team->teamid);
 	    cb(team);
 	    load_team_failure:
 	    ;    
 	}
--- a/src/bnetd/storage_file.c
+++ b/src/bnetd/storage_file.c
@@ -843,9 +843,9 @@
 	    eventlog(eventlog_level_error,__FUNCTION__,"invalid team file: invalid number of arguments on 3rd line");
 	    goto load_team_failure;
 	}
 
-	eventlog(eventlog_level_trace,__FUNCTION__,"succesfully loaded team %s",dentry);
+	eventlog(eventlog_level_trace,__FUNCTION__,"successfully loaded team %s",dentry);
 	cb(team);
 	
 	goto load_team_success;
 	load_team_failure:
--- a/src/bnetd/mail.c
+++ b/src/bnetd/mail.c
@@ -634,9 +634,9 @@
 	 message_send_text(c,message_type_error,c,"There was an error completing your request.");
 	 mailbox_close(mailbox);
 	 return;
       }
-      sprintf(tmp,"Succesfully deleted message #%02d.",idx);
+      sprintf(tmp,"Successfully deleted message #%02d.",idx);
       message_send_text(c,message_type_info,c,tmp);
    }
    mailbox_close(mailbox);
 }
--- a/src/bnetd/sql_dbcreator.c
+++ b/src/bnetd/sql_dbcreator.c
@@ -678,9 +678,9 @@
 	if ((column->mode != NULL) && (strcmp(column->mode,"&&") == 0))
 	{
           if (!(sql->query(column->extra_cmd)))
 	  {
-	    eventlog(eventlog_level_info,__FUNCTION__,"sucessfully issued: %s %s",column->mode, column->extra_cmd);
+	    eventlog(eventlog_level_info,__FUNCTION__,"successfully issued: %s %s",column->mode, column->extra_cmd);
 	  }
 	}
 /*
 	sscanf(column->name,"%s",_column);
@@ -699,9 +699,9 @@
 	if ((column->mode != NULL) && (strcmp(column->mode,"||") == 0))
 	{
           if (!(sql->query(column->extra_cmd)))
 	  {
-	    eventlog(eventlog_level_info,__FUNCTION__,"sucessfully issued: %s %s",column->mode, column->extra_cmd);
+	    eventlog(eventlog_level_info,__FUNCTION__,"successfully issued: %s %s",column->mode, column->extra_cmd);
 	  }
 	}
 
       }
@@ -710,14 +710,14 @@
     for (sqlcmd = table_get_first_sql_command(table);sqlcmd;sqlcmd = table_get_next_sql_command(table))
     {
         if (!(sql->query(sqlcmd->sql_command)))
         {
-           eventlog(eventlog_level_info,__FUNCTION__,"sucessfully issued: %s",sqlcmd->sql_command);
+           eventlog(eventlog_level_info,__FUNCTION__,"successfully issued: %s",sqlcmd->sql_command);
 	   if ((sqlcmd->mode != NULL) && (strcmp(sqlcmd->mode,"&&") == 0))
 	   {
 	      if (!(sql->query(sqlcmd->extra_cmd)))
 	      {
-		eventlog(eventlog_level_info,__FUNCTION__,"sucessfully issued: %s %s",sqlcmd->mode, sqlcmd->extra_cmd);
+		eventlog(eventlog_level_info,__FUNCTION__,"successfully issued: %s %s",sqlcmd->mode, sqlcmd->extra_cmd);
 	      }
 	   }
         }
 	else
@@ -725,9 +725,9 @@
 	   if ((sqlcmd->mode != NULL) && (strcmp(sqlcmd->mode,"||") == 0))
 	   {
 	      if (!(sql->query(sqlcmd->extra_cmd)))
 	      {
-		eventlog(eventlog_level_info,__FUNCTION__,"sucessfully issued: %s %s",sqlcmd->mode, sqlcmd->extra_cmd);
+		eventlog(eventlog_level_info,__FUNCTION__,"successfully issued: %s %s",sqlcmd->mode, sqlcmd->extra_cmd);
 	      }
 	   }
 
 	}
--- a/man/bnetd.conf.5
+++ b/man/bnetd.conf.5
@@ -123,9 +123,9 @@
 .BR fortune (6).
 (Normally "/usr/games/fortune")
 .TP
 .B loglevels
-Specify A comma-delimited list of message levels to log.  The avaliable levels
+Specify A comma-delimited list of message levels to log.  The available levels
 are:
 .RS
 .TP
 .B trace
--- a/man/bnstat.1
+++ b/man/bnstat.1
@@ -35,9 +35,9 @@
 .LP
 If no \fIservername\fP is specified, localhost is assumed.  If no \fIserverport\fP is
 specified, 6112 is assumed.  If no player is specified on the command line,
 .BR bnstat (1)
-will connect to the server and prompt for one from stdin.  All avaliable statistics for
+will connect to the server and prompt for one from stdin.  All available statistics for
 the emulated client type are formatted and displayed on stdout. 
 .SH OPTIONS
 .TP
 .B \-b