celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpe...@apache.org
Subject svn commit: r1641259 - /celix/trunk/remote_shell/private/src/shell_mediator.c
Date Sun, 23 Nov 2014 20:16:51 GMT
Author: bpetri
Date: Sun Nov 23 20:16:51 2014
New Revision: 1641259

URL: http://svn.apache.org/r1641259
Log:
CELIX-156: changed variable initialization

Modified:
    celix/trunk/remote_shell/private/src/shell_mediator.c

Modified: celix/trunk/remote_shell/private/src/shell_mediator.c
URL: http://svn.apache.org/viewvc/celix/trunk/remote_shell/private/src/shell_mediator.c?rev=1641259&r1=1641258&r2=1641259&view=diff
==============================================================================
--- celix/trunk/remote_shell/private/src/shell_mediator.c (original)
+++ celix/trunk/remote_shell/private/src/shell_mediator.c Sun Nov 23 20:16:51 2014
@@ -37,7 +37,7 @@
 
 //NOTE: multiple instances of shell_mediator are not supported, because we need
 // 		a non ADT - shared between instances - variable.
-static int currentOutputSocket = NULL;
+static int currentOutputSocket = -1;
 
 static void shellMediator_writeOnCurrentSocket(char *buff);
 



Mime
View raw message