Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/elvnct/AlloHouston
Browse files Browse the repository at this point in the history
  • Loading branch information
williamgraver committed Dec 8, 2017
2 parents 5828935 + 842f482 commit 78730c8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# file: ~/.gitignore_global
.DS_Store
.idea
*/AlloHoustonServer
*/AlloHoustonClient
.serveur/bin/AlloHoustonServer
.client/bin/AlloHoustonClient
2 changes: 1 addition & 1 deletion client/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CC = gcc
CFLAGS = -Iheaders
SRCS = ./sources/main.c
OBJS = $(SRCS:.c=.o)
EXEC = AlloHoustonClient
EXEC = ./bin/AlloHoustonClient

all: $(EXEC)
$(EXEC): $(OBJS)
Expand Down
2 changes: 1 addition & 1 deletion serveur/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CC = gcc
CFLAGS = -Iheaders
SRCS = ./sources/main.c ./sources/service.c ./sources/train.c ./sources/outils.c ./sources/temps.c ./sources/requetes.c
OBJS = $(SRCS:.c=.o)
EXEC = AlloHoustonServer
EXEC = ./bin/AlloHoustonServer

all: $(EXEC)
$(EXEC): $(OBJS)
Expand Down
2 changes: 1 addition & 1 deletion serveur/sources/service.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void nouveauService(int descripteurSocketService)
//Recuépration du fichier Trains.txt a chaque client
//Cela permet que chaque client ets le dernier fichier bien a jour

char *nomFichier = "./ressources/Trains.txt";
char *nomFichier = "../ressources/Trains.txt";
Train *listeTrain;
int nbTrain;
listeTrain = trainFromFile(nomFichier, &nbTrain); // Récupération de la liste de train
Expand Down

0 comments on commit 78730c8

Please sign in to comment.