Commit af66f4a
committed
Fixup
1. Initialize a local variable DoKexInit() as a compiler complains it is
getting used with a garbage value. (Not true, but hushing the
compiler.)
2. In GetInputText() add braces around the error check if clauses, and
give the version error its own check instead of a ternary return.
3. In GetInputData(), if the recv return was anything else, return a
general socket error.1 parent 456fac4 commit af66f4a
1 file changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3046 | 3046 | | |
3047 | 3047 | | |
3048 | 3048 | | |
3049 | | - | |
| 3049 | + | |
3050 | 3050 | | |
| 3051 | + | |
3051 | 3052 | | |
3052 | | - | |
| 3053 | + | |
3053 | 3054 | | |
| 3055 | + | |
3054 | 3056 | | |
3055 | | - | |
| 3057 | + | |
3056 | 3058 | | |
| 3059 | + | |
3057 | 3060 | | |
3058 | 3061 | | |
3059 | 3062 | | |
| |||
3077 | 3080 | | |
3078 | 3081 | | |
3079 | 3082 | | |
3080 | | - | |
| 3083 | + | |
| 3084 | + | |
| 3085 | + | |
| 3086 | + | |
| 3087 | + | |
3081 | 3088 | | |
3082 | 3089 | | |
3083 | 3090 | | |
| |||
3191 | 3198 | | |
3192 | 3199 | | |
3193 | 3200 | | |
3194 | | - | |
| 3201 | + | |
3195 | 3202 | | |
3196 | 3203 | | |
3197 | 3204 | | |
| |||
3852 | 3859 | | |
3853 | 3860 | | |
3854 | 3861 | | |
3855 | | - | |
| 3862 | + | |
3856 | 3863 | | |
3857 | 3864 | | |
3858 | 3865 | | |
| |||
0 commit comments