Diff

Differences From Artifact [bc16bea20a]:

To Artifact [18ddf12624]:


149
150
151
152
153
154
155



























156
157
158
159
160
161
162
		default_protocol = cfg.protocol = PROT_SSH;
		default_port = cfg.port = 22;
	    } else if (q == p + 3 &&
		tolower(p[0]) == 'l' &&
		tolower(p[1]) == 'o' &&
		tolower(p[2]) == 'g') {
                logfile = "putty.log";



























	    }
	    p = q + strspn(q, " \t");
	}

	/*
	 * An initial @ means to activate a saved session.
	 */







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
		default_protocol = cfg.protocol = PROT_SSH;
		default_port = cfg.port = 22;
	    } else if (q == p + 3 &&
		tolower(p[0]) == 'l' &&
		tolower(p[1]) == 'o' &&
		tolower(p[2]) == 'g') {
                logfile = "putty.log";
	    } else if (q == p + 7 &&
		tolower(p[0]) == 'c' &&
		tolower(p[1]) == 'l' &&
		tolower(p[2]) == 'e' &&
		tolower(p[3]) == 'a' &&
		tolower(p[4]) == 'n' &&
		tolower(p[5]) == 'u' &&
		tolower(p[6]) == 'p') {
                /*
                 * `putty -cleanup'. Remove all registry entries
                 * associated with PuTTY, and also find and delete
                 * the random seed file.
                 */
                if (MessageBox(NULL,
                               "This procedure will remove ALL Registry\n"
                               "entries associated with PuTTY, and will\n"
                               "also remove the PuTTY random seed file.\n"
                               "\n"
                               "THIS PROCESS WILL DESTROY YOUR SAVED\n"
                               "SESSIONS. Are you really sure you want\n"
                               "to continue?",
                               "PuTTY Warning",
                               MB_YESNO | MB_ICONWARNING) == IDYES) {
                    random_destroy_seed();
                    registry_cleanup();
                }
                exit(0);
	    }
	    p = q + strspn(q, " \t");
	}

	/*
	 * An initial @ means to activate a saved session.
	 */