Skip to content

Commit

Permalink
sendCoordinates done
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandru Radovici committed Jul 8, 2014
1 parent 6ab0089 commit b314e60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/signals/signals.c
Expand Up @@ -305,8 +305,8 @@ int sendCoordinatesAndFlag(const char *name, double latitude, double longitude,
int rc;
char *lon = malloc(100 *sizeof(char));
char *lat = malloc(100 *sizeof(char));
sprintf(lat, 99, "%s_latitude",name);
sprintf(lon, 99, "%s_longitude",name);
snprintf(lat, 99, "%s_latitude",name);
snprintf(lon, 99, "%s_longitude",name);
if(flag != NULL)
rc = sendSignalsAndFlag(flag,lat,latitude,lon,longitude,NULL);
else
Expand Down

0 comments on commit b314e60

Please sign in to comment.