Commit bb08b9d
committed
fix(config): validate configuration activation
SetConfig and ReadConfig returned success when libGammu rejected the active configuration count, deferring the failure until initialization.
Closes gammu/gammu#4141 parent 905c7c8 commit bb08b9d
2 files changed
Lines changed: 42 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
557 | 571 | | |
558 | 572 | | |
559 | 573 | | |
| |||
688 | 702 | | |
689 | 703 | | |
690 | 704 | | |
691 | | - | |
692 | | - | |
| 705 | + | |
| 706 | + | |
693 | 707 | | |
694 | 708 | | |
695 | 709 | | |
| |||
746 | 760 | | |
747 | 761 | | |
748 | 762 | | |
749 | | - | |
750 | | - | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
751 | 767 | | |
752 | 768 | | |
753 | 769 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
33 | 55 | | |
34 | 56 | | |
35 | 57 | | |
| |||
0 commit comments