Commit a6337ca
committed
nassh: fix handling of default port settings
The default port value is null, not "". When the port field is empty,
it will be an empty string which means we end up storing "" everywhere
instead of eliding it entirely. Change it around to null instead.
This doesn't automatically clear out existing prefs, but it should get
cleared whenever the user displays/tweaks a specific connection.
Change-Id: I4e7fa0ccd1894df81f294b48fe4e054d44c23c84
Reviewed-on: https://chromium-review.googlesource.com/c/1352192
Reviewed-by: Vitaliy Shipitsyn <[email protected]>
Tested-by: Mike Frysinger <[email protected]>1 parent b5f9744 commit a6337ca
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
377 | | - | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
378 | 383 | | |
379 | 384 | | |
380 | 385 | | |
| |||
0 commit comments