Skip to content

Commit

Permalink
Change default return code to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jalle19 committed Aug 12, 2024
1 parent bcfb7f6 commit 8e6a532
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/satipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ int satipc_reply(sockets *s) {
satipc *sip;
char *arg[100], *sep;
int is_transport = 0;
int rc = 999;
int rc = 0;
__attribute__((unused)) int rv;
get_ad_and_sipr(s->sid, 1);

Expand All @@ -246,7 +246,7 @@ int satipc_reply(sockets *s) {

sep = strchr((char *)s->buf, ' ');
if (sep)
rc = map_intd(sep + 1, NULL, 998);
rc = map_intd(sep + 1, NULL, 0);

LOGM("MSG process << server :\n%s", s->buf);
LOG("satipc_reply (adapter %d, state %d): receiving from handle %d, sock "
Expand Down

0 comments on commit 8e6a532

Please sign in to comment.