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)
|
||||
{
|
||||
if(self->startTime > 0){
|
||||
printf("DEVSER: there is something fucked up in LogStart. Investigate!\n");
|
||||
}
|
||||
self->startTime = DoubleTime();
|
||||
}
|
||||
static void LogResponse(DevSer *self, int error)
|
||||
|
@ -298,7 +298,7 @@ static int SecMotorStatus(void *sulf, SConnection * pCon)
|
||||
int status;
|
||||
pHdb node = NULL;
|
||||
hdbValue v;
|
||||
float interrupt;
|
||||
float interrupt = 0.;
|
||||
char error[132];
|
||||
|
||||
assert(sulf);
|
||||
|
@ -553,7 +553,7 @@ static char *SctActionHandler(void *actionData, char *lastReply,
|
||||
} else {
|
||||
l = strlen(origScript);
|
||||
}
|
||||
snprintf(eprop, sizeof eprop, "error_in_%.*s", l, origScript);
|
||||
snprintf(eprop, sizeof eprop, "error_in_%s", origScript);
|
||||
emsg = GetHdbProp(node, eprop);
|
||||
cnt = 0;
|
||||
if (emsg != NULL) {
|
||||
|
Reference in New Issue
Block a user