Merge branch 'android_branch' into toolbar

This commit is contained in:
eehouse@eehouse.org 2010-07-07 20:44:33 -07:00 committed by Andy2
commit 586e0d25f9
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ SRC = xwrelay.cpp \
# STATIC ?= -static
GITINFO = gitversion.txt
HASH=$(shell ../scripts/gitversion.sh)
HASH=$(shell git describe)
OBJ = $(patsubst %.cpp,%.o,$(SRC))
#LDFLAGS += -pthread -g -lmcheck $(STATIC)

View file

@ -522,7 +522,7 @@ cmd_lock( int socket, const char** args )
static bool
cmd_help( int socket, const char** args )
{
if ( 0 == strcmp( "help", args[1] ) ) {
if ( NULL != args[1] && 0 == strcmp( "help", args[1] ) ) {
print_to_sock( socket, true, "* %s -- prints this", args[0] );
} else {