Fixed minor typos and compilation issues
This commit is contained in:
3
devser.c
3
devser.c
@ -151,9 +151,6 @@ static DevAction *DevNextAction(DevSer * devser)
|
|||||||
}
|
}
|
||||||
static void LogStart(DevSer *self)
|
static void LogStart(DevSer *self)
|
||||||
{
|
{
|
||||||
if(self->startTime > 0){
|
|
||||||
printf("DEVSER: there is something fucked up in LogStart. Investigate!\n");
|
|
||||||
}
|
|
||||||
self->startTime = DoubleTime();
|
self->startTime = DoubleTime();
|
||||||
}
|
}
|
||||||
static void LogResponse(DevSer *self, int error)
|
static void LogResponse(DevSer *self, int error)
|
||||||
|
@ -298,7 +298,7 @@ static int SecMotorStatus(void *sulf, SConnection * pCon)
|
|||||||
int status;
|
int status;
|
||||||
pHdb node = NULL;
|
pHdb node = NULL;
|
||||||
hdbValue v;
|
hdbValue v;
|
||||||
float interrupt;
|
float interrupt = 0.;
|
||||||
char error[132];
|
char error[132];
|
||||||
|
|
||||||
assert(sulf);
|
assert(sulf);
|
||||||
|
@ -553,7 +553,7 @@ static char *SctActionHandler(void *actionData, char *lastReply,
|
|||||||
} else {
|
} else {
|
||||||
l = strlen(origScript);
|
l = strlen(origScript);
|
||||||
}
|
}
|
||||||
snprintf(eprop, sizeof eprop, "error_in_%.*s", l, origScript);
|
snprintf(eprop, sizeof eprop, "error_in_%s", origScript);
|
||||||
emsg = GetHdbProp(node, eprop);
|
emsg = GetHdbProp(node, eprop);
|
||||||
cnt = 0;
|
cnt = 0;
|
||||||
if (emsg != NULL) {
|
if (emsg != NULL) {
|
||||||
|
Reference in New Issue
Block a user