Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c150d82 authored by San Mehat's avatar San Mehat Committed by The Android Open Source Project
Browse files

am d5305928: libsysutils: Send command arguments to the command, not the

Merge commit 'd5305928'

* commit 'd5305928':
  libsysutils: Send command arguments to the command, not the command again :P
parents 55e2c9de d5305928
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -73,7 +73,8 @@ void FrameworkListener::dispatchCommand(SocketClient *cli, char *cmd) {
        FrameworkCommand *c = *i;

        if (!strcmp(cm, c->getCommand())) {
            if (c->runCommand(cli, cmd)) {
            cm += strlen(cm) +1;
            if (c->runCommand(cli, cm)) {
                LOGW("Handler '%s' error (%s)", c->getCommand(), strerror(errno));
            }
            return;