summaryrefslogtreecommitdiffstats
path: root/src/utils.h
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2021-02-05 11:19:41 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-02-08 22:36:29 +0100
commit0e4857a5389dfe919b18cb872f0b1d0948b4df52 (patch)
tree320f1faf769abf756ba20087efb20d0b67d825b2 /src/utils.h
parentf3905fe0f9f8186b2feaf96030946e6cdd3812db (diff)
#1019 Fix restore-image legacy string parser
UMA reports that the restore image command (in queue mode) does not work, the non-queue mode works fine though. WebConsole stores queued commands in the database using the deprecated SocketHidra legacy string format and ogServer parses them with sscanf(). The restore-image command has the field "ptc" which stores a string with whitespaces, however, ogServer expects no whitespaces ("%s"). Update parser to read until carriage return, whitespaces included.
Diffstat (limited to 'src/utils.h')
0 files changed, 0 insertions, 0 deletions