diff options
| -rw-r--r-- | jaildaemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jaildaemon.c b/jaildaemon.c index 089b16e..8efd5a2 100644 --- a/jaildaemon.c +++ b/jaildaemon.c | |||
| @@ -680,8 +680,8 @@ int main( int argc, char **argv ) { | |||
| 680 | continue; | 680 | continue; |
| 681 | } | 681 | } |
| 682 | 682 | ||
| 683 | task.m_proctitle = g_ipc_packet_int[4] ? ++text_off : 0; | 683 | task.m_proctitle = g_ipc_packet_int[5] ? ++text_off : 0; |
| 684 | text_off += g_ipc_packet_int[4]; | 684 | text_off += g_ipc_packet_int[5]; |
| 685 | 685 | ||
| 686 | /* Sanity check on string length, expect terminator */ | 686 | /* Sanity check on string length, expect terminator */ |
| 687 | if( text_off > (char *)(g_ipc_packet + IPC_PACKETSIZE) || | 687 | if( text_off > (char *)(g_ipc_packet + IPC_PACKETSIZE) || |
