File: identity.patch

package info (click to toggle)
nap 1.5.3-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,448 kB
  • ctags: 1,703
  • sloc: ansic: 19,106; sh: 808; makefile: 117
file content (21 lines) | stat: -rw-r--r-- 667 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- src/nap.c.orig	Fri May 30 01:22:38 2003
+++ src/nap.c	Mon Jun  2 18:38:06 2003
@@ -764,7 +764,7 @@
   info.bandwidthupconn = -1;
   info.sflag = 0;
 
-  while ((c = getopt_long(argc, argv, "h?vbBNmrqatlTnf:x:g:s:d:u:p:e:U:D:P:C:M:o:", 
+  while ((c = getopt_long(argc, argv, "h?vbBNmrqatlTnf:x:g:s:d:u:p:e:i:U:D:P:C:M:o:", 
 			  longopts, NULL)) != -1)
   {
     switch (c)
@@ -853,6 +853,9 @@
     case 'e':
       info.email = strdup(optarg);
       break;
+    case 'i':  /* dz */
+      chset("identity", optarg);
+      break; 
     case 'U':  /* note there can be several -U options, each adding a dir */
       if (!info.up) {
 	info.up = strdup(optarg);