File: spelling.patch

package info (click to toggle)
ptunnel-ng 1.43-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 568 kB
  • sloc: ansic: 3,288; sh: 254; makefile: 61
file content (27 lines) | stat: -rw-r--r-- 1,470 bytes parent folder | download | duplicates (2)
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
Description: spelling errors detected by lintian
Index: ptunnel-ng-1.43/src/options.c
===================================================================
--- ptunnel-ng-1.43.orig/src/options.c	2024-04-07 14:33:24.000000000 +0000
+++ ptunnel-ng-1.43/src/options.c	2025-03-12 20:28:25.307665356 +0000
@@ -488,7 +488,7 @@
 				if (opts.password)
 					free(opts.password);
 				opts.password = strdup(optarg);
-				pt_log(kLog_debug, "%s\n", "Password set - unauthenicated connections will be refused.");
+				pt_log(kLog_debug, "%s\n", "Password set - unauthenticated connections will be refused.");
 				/* Compute the md5 password digest */
 				md5_init(&state);
 				md5_append(&state, (md5_byte_t *)optarg, strnlen(opts.password, BUFSIZ /* not optimal */));
Index: ptunnel-ng-1.43/src/pkt.c
===================================================================
--- ptunnel-ng-1.43.orig/src/pkt.c	2024-04-07 14:33:24.000000000 +0000
+++ ptunnel-ng-1.43/src/pkt.c	2025-03-12 20:29:01.276256437 +0000
@@ -386,7 +386,7 @@
 {
     /* Check if we should add payload data to the queue. */
     if (!cur->recv_ring[cur->recv_idx] && pt_pkt->state == kProto_data) {
-        pt_log(kLog_debug, "Queing data packet: %d\n", pt_pkt->seq_no);
+        pt_log(kLog_debug, "Queueing data packet: %d\n", pt_pkt->seq_no);
         cur->recv_ring[cur->recv_idx] = create_fwd_desc(pt_pkt->seq_no, pt_pkt->data_len, pt_pkt->data);
         cur->recv_wait_send++;
         cur->recv_idx++;