• Adam Wujek's avatar
    userspace/snmpd: make t_n_rows static in wrsTableTemplate.h · 843ac095
    Adam Wujek authored
    t_n_rows (n_rows before) has to be local for table. Having it global sometimes
    caused to print wrong number of rows in tables. This bug may even cause snmpd
    to crash.
    It was dependent on the call order of *_data_fill funtions.
    
    Change the n_rows into t_n_rows, since the usage of n_rows variable is common
    in the snmp code. By this avoid potential errors like variable overleaping
    problems.
    Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
    843ac095
Name
Last commit
Last update
..
dot-config Loading commit data...
host_tools Loading commit data...
include Loading commit data...
libsdb Loading commit data...
libwr Loading commit data...
mini-rpc @ 28dff055
ppsi @ ea89bf17
rootfs_override Loading commit data...
snmpd Loading commit data...
tools Loading commit data...
wrs_watchdog Loading commit data...
wrsw_hal Loading commit data...
wrsw_rtud Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
devices.tar.gz Loading commit data...