View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009290 | GNUnet | util library | public | 2024-10-22 15:33 | 2024-10-23 13:19 |
Reporter | fefe | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Target Version | 0.22.2 | ||||
Summary | 0009290: GNUNET_CONFIGURATION_deserialize: confusing code | ||||
Description | 933 /* remove quotes */ 934 i = 0; 935 if ( ('"' == value[0]) && 936 ('"' == value[strlen (value) - 1]) ) 937 { 938 value[strlen (value) - 1] = '\0'; 939 value++; 940 } 941 GNUNET_CONFIGURATION_set_value_string (cfg, 942 section, 943 tag, 944 &value[i]); This looks like a refactoring artifact. Remove line 934 and change the term in line 944 to just value | ||||
Tags | No tags attached. | ||||