git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11159 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Marcus Meissner
2008-06-09 16:28:16 +00:00
parent ba969dc6a6
commit 90c230723c

View File

@@ -174,7 +174,7 @@ ssize_t send_cmd_hdd_file_send(Camera *camera, unsigned char dir, char *path, GP
unsigned short packetSize;
int pathLen = strlen(path) + 1;
gp_log (GP_LOG_DEBUG, "topfield", __func__);
gp_log (GP_LOG_DEBUG, "topfield", "send_cmd_hdd_file_send(dir = %d, path = %s)", dir, path);
if((PACKET_HEAD_SIZE + 1 + 2 + pathLen) >= MAXIMUM_PACKET_SIZE) {
fprintf(stderr, "ERROR: Path is too long.\n");
return -1;