git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Work on Authentication System(s)
[matches/MCTX3420.git]
/
server
/
control.c
diff --git
a/server/control.c
b/server/control.c
index
5c8a410
..
4b4a1e6
100644
(file)
--- a/
server/control.c
+++ b/
server/control.c
@@
-15,7
+15,8
@@
typedef struct ControlData {
ControlData g_controls = {CONTROL_STOP, PTHREAD_MUTEX_INITIALIZER, {0}};
ControlData g_controls = {CONTROL_STOP, PTHREAD_MUTEX_INITIALIZER, {0}};
-static bool PathExists(const char *path) {
+bool PathExists(const char *path)
+{
FILE *fp = fopen(path, "r");
if (fp) {
fclose(fp);
FILE *fp = fopen(path, "r");
if (fp) {
fclose(fp);
@@
-177,4
+178,4
@@
const char * Control_GetModeName() {
*/
const struct timeval* Control_GetStartTime() {
return &g_controls.start_time;
*/
const struct timeval* Control_GetStartTime() {
return &g_controls.start_time;
-}
\ No newline at end of file
+}
UCC
git Repository :: git.ucc.asn.au